This website requires JavaScript.
Explore
Help
Sign in
public
/
hugo-internet-weblog
Watch
1
Star
0
Fork
You've already forked hugo-internet-weblog
0
Code
Issues
4
Pull requests
Projects
1
Releases
7
Packages
Activity
Actions
f935ff81cc
hugo-internet-weblog
/
layouts
/
partials
/
default_list.html
4 lines
75 B
HTML
Raw
Normal View
History
Unescape
Escape
Add list class to default list as jnjosh did.
2018-01-19 11:50:50 -05:00
<
main
class
=
"content list"
>
Add capacity to get yearly grouping for microposts. Adds a parameter called YearlyMicroposts which is used to either: - output the usual list of microposts if the parameter is not set or set to false; - output a list of micropost titles grouped by year (just like the posts list is) if the parameter is set and true. The default behavior is not changed and the setting needs not be defined thus not complicating the default installation.
2017-11-29 16:50:45 -05:00
{{ partial "preview_list.html" . }}
<
/
main
>
Reference in a new issue
Copy permalink