Commit Graph

15 Commits

Author SHA1 Message Date
Jimmy Cai
c018f4967a feat(search): i18n support 2020-11-06 11:49:30 +01:00
Jimmy Cai
26fedaebd2
refactor(search): include icon using helper/icon 2020-10-12 20:31:40 +02:00
Jimmy Cai
8aeb562bb3
feat(search): preload search.json 2020-10-04 15:45:23 +02:00
Jimmy Cai
6e48765d82
fix(search): HTML escape issue 2020-09-26 22:50:23 +02:00
Jimmy Cai
e5f96c8762
feat: add search template 2020-09-26 11:40:33 +02:00
Jimmy Cai
c600f87213
feat: make archive template available for all sections 2020-09-13 11:00:19 +02:00
Jimmy Cai
45e7e07a86
refactor: change default article layout
Post layout become exclusive for `post` section (with toolbar)
Page layout become the default layout (without toolbar)
2020-09-13 10:59:52 +02:00
Jimmy Cai
ed91cb7629
refactor(layouts): move layout HTML to baseof.html
For better maintainability
2020-09-12 10:33:53 +02:00
Jimmy Cai
67e8e6b854
fix(page/archive): partial "footer.html" not found 2020-09-11 23:02:23 +02:00
Jimmy Cai
b064b5ef85
refactor: move partial/head.html and partial/footer.html 2020-09-11 22:41:40 +02:00
Jimmy Cai
c546964ce4
feat(comments): prepare for more third party comments system integration 2020-09-08 23:30:15 +02:00
Jimmy Cai
37ca2cc167
fix(archive): display categories list when it's available 2020-09-07 12:32:08 +02:00
Jimmy Cai
e176e29811
refactor: use .Params.mainSections to filter posts
It's recommended by Hugo's official doc: https://gohugo.io/functions/where/#mainsections
2020-09-06 13:15:38 +02:00
Jimmy Cai
ddfc10a9f5
feat(article): add site footer to page layout 2020-08-31 09:29:09 +02:00
Jimmy Cai
c698d944e6 🎉 Initial commit 2020-08-22 13:20:08 +02:00