-
Notifications
You must be signed in to change notification settings - Fork 61
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
Errors on site without expected parameters set #9
Comments
Thanks for the bug report. Yeah, all the templates want a This value is used as the default; it can be overridden by the page level parameters / yaml headers. But I see your point that I really ought to have a fallback for when neither can be found. Not quite sure the Hugo-foo for that case. Here's the relevant line in the template: https://github.com/cboettig/hugo-now-ui/blob/master/layouts/_default/baseof.html#L11 |
kaushalmodi/hugo-bare-min-theme#1 might be a good reference point. |
Thanks! Yes, I definitely agree the theme should at least build without errors given a vanilla / no config.yml. (Some documentation of parameter use in the I'll take a whack at this |
This does not solve the problem at hand.. but here's a minor optimization to prevent having that If you do So you can do Now to tackle the problem at hand, you can probably:
On that note, this upcoming feature in Hugo will help a great deal! gohugoio/hugo#4490 |
Look what I've found:
Another way in https://github.com/olOwOlo/hugo-theme-even from @olOwOlo:
|
Thanks very much... More coming soon.
On Mar 20, 2018 10:39, "Dmitry Verkhoturov" <notifications@github.com> wrote:
Look what I've found:
[image: image]
<https://user-images.githubusercontent.com/712534/37672246-9d7850c8-2c7e-11e8-8d20-54935d2e5e6d.png>
https://github.com/solutionroute/hugo-smorg by @solutionroute
<https://github.com/solutionroute> is amazing.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AD7VniSyznoH3FjWcI6URAWouX8gRIHVks5tgT7LgaJpZM4SyTEf>
.
|
Just checked, works like a charm after last commit. Thanks a lot! |
I'm not sure github sent notifications to mentioned authors, so posting double there: theme highlight is out, this very theme is in it, additional info on paskal/terrty#1. |
Hello!
$subj, when trying to run this theme against my blog source I get following (and site won't render at all):
The reason is likely some absent
.Site.
parameter but you can't tell it from error message, I guess input parameters handling could be improved.The text was updated successfully, but these errors were encountered: