Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated theme warning messages to be more precise. #2843

Merged
merged 2 commits into from
Oct 2, 2022
Merged

Updated theme warning messages to be more precise. #2843

merged 2 commits into from
Oct 2, 2022

Conversation

anirbanbasu
Copy link
Contributor

@anirbanbasu anirbanbasu commented Sep 29, 2022

Purpose

Based on the suggestion at https://discord.com/channels/722225264733716590/1024935456313450506/1025050134083543152, this PR makes the warning messages for missing theme specifications more specific.

As an example, the warning is as follows.

Theme `forest` not found at `data/themes/forest.toml`

As the dark specification in the forest theme is missing, this PR will change it to the following.

Dark specification for theme `forest` not found at `data/themes/forest.toml`, falling back to dark specification from the `minimal` theme.

A similar message will appear if the theme is missing its light specification, for example:

Light specification for theme `dark` not found at `data/themes/dark.toml`, falling back to light specification from the `minimal` theme.

@netlify
Copy link

netlify bot commented Sep 29, 2022

Deploy Preview for hugo-portfolio-theme canceled.

Name Link
🔨 Latest commit 67c11d7
🔍 Latest deploy log https://app.netlify.com/sites/hugo-portfolio-theme/deploys/6339cf29fe18670008fb098d

@netlify
Copy link

netlify bot commented Sep 29, 2022

Deploy Preview for markdown-slides canceled.

Name Link
🔨 Latest commit 67c11d7
🔍 Latest deploy log https://app.netlify.com/sites/markdown-slides/deploys/6339cf2923fd170008f0aab0

@gcushen gcushen merged commit 82a4452 into HugoBlox:main Oct 2, 2022
@anirbanbasu anirbanbasu deleted the anirbanbasu-patch-1 branch October 2, 2022 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants