beautifulhugo | Theme for the Hugo static website generator | Theme library
kandi X-RAY | beautifulhugo Summary
kandi X-RAY | beautifulhugo Summary
This theme is designed to look great on both large-screen and small-screen (mobile) devices.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of beautifulhugo
beautifulhugo Key Features
beautifulhugo Examples and Code Snippets
Community Discussions
Trending Discussions on beautifulhugo
QUESTION
What's the right way to get Hugo's version number in locale files i18n/*.yaml
under Hugo v0.55?
I'm using Hugo with the theme Beautiful Hugo, which included the following deprecated syntax since v0.55:
.URL
.Hugo
.RSSLink
#2 is used in locale files i18n/*yaml
to get Hugo's version number {{ .Hugo.Version }}
, but this is deprecated.
As a result, my terminal showed messages similar to this when running hugo server
.
ANSWER
Answered 2019-Apr-25 at 10:11Thanks to @bep on Hugo Discourse, I've found the soluton! Simply use {{ .Site.Hugo.Version }}
.
Reference: @bep's answer on Hugo Discourse
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install beautifulhugo
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page