Josh Lubaway
0d9656d939
Replace {{ .URL }} with {{ .Permalink }} (#216)
Using the `{{ .URL }}` token results in a warning:
WARN 2019/10/13 15:12:12 Page's .URL is deprecated and will be removed in a
future release. Use .Permalink or .RelPermalink. If what you want is the
front matter URL value, use .Params.url.
Steps to reproduce
==================
Follow along with the Quick Start guide at
https://gohugo.io/getting-started/quick-start/
Running `hugo server -D` emits a warning that `.URL` is deprecated.
5 年之前
Jan Steinke
76e4b7174a
add i18n translation support (#156)
* add initial translation
* readd _copy params to templates
5 年之前
Andreas Caravella
75d661632a
enable localization/modification of "Recent" string (#154)
6 年之前
Developer Davo
f9b62a2645
#68|Parmeterize number of recent posts in index.html (#69)
* Parmeterize number of recent posts in index.html
* Replace .Site.Params.recent_posts_number with $.Param "recent_posts_number" in index.html
7 年之前
Bud Parr
6350c2fee6
Fixes #31 (#32)
7 年之前
Bud Parr
8f4c3b571d
use better class names
7 年之前
Bud Parr
00a797e9bd
fix clunky construction on home page to get section name (#17)
7 年之前
Bud Parr
c48bf1f93b
remove hard-coded link + annotations
7 年之前
Bud Parr
3e722a96d7
mind the dot!
7 年之前
Bud Parr
3b211400c4
fix issue count
7 年之前
Bud Parr
2fac73dfac
switch home page work with a variety of sections after earlier PR
7 年之前
Bjørn Erik Pedersen
a947472c6b
Use Site.Params.mainSections to select pages on home page
This helps with theme portability.
Also use Site.RegularPages in its default sort, as this is probably what most people want.
7 年之前
Bud Parr
049a9e8d19
change article to post
7 年之前
Bud Parr
9e5401d0fa
change article to post
7 年之前
Bud Parr
2dfd957296
clean up
7 年之前
Bud Parr
53df85690d
wip clean up and annotations
7 年之前
Bud Parr
3e49105331
wip home page layout
7 年之前
Bud Parr
6331805b90
clean up layouts
7 年之前
Bud Parr
664f5fc3f5
add pagination and first after examples wip
7 年之前
Bud Parr
91984fee72
tweak layouts
7 年之前
Bud Parr
77514eab9e
wip layout mobile
7 年之前
Bud Parr
98bc281a57
first commit
7 年之前