Commit graph

21 commits

Author SHA1 Message Date
Jimmy Cai
93146c9dc3
fix: add .Type as second cache key for helper/image
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/12
2020-09-18 00:12:26 +02:00
Jimmy Cai
cf6502c311
feat: add partialCached to helper/image invocation
Using .RelPermalink as key for cache
2020-09-17 21:52:06 +02:00
Jimmy Cai
9a64b7a6f1
feat: partialCached for PhotoSwipe HTML 2020-09-17 21:46:48 +02:00
Jimmy Cai
845834baa6
refactor(footer): add footer/include.html
To include HTML code for style and script
2020-09-17 19:47:03 +02:00
Jimmy Cai
7379bbe412
refactor: rename archive -> archives 2020-09-13 11:22:47 +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
b064b5ef85
refactor: move partial/head.html and partial/footer.html 2020-09-11 22:41:40 +02:00
Jimmy Cai
a2732a312a
feat(image): add article and article list default image settings 2020-09-11 18:07:29 +02:00
Jimmy Cai
a2662603df
feat(helper/image): new way to set default image 2020-09-11 16:27:23 +02:00
Jimmy Cai
cfd4cdb731
feat(helper/image): new return format 2020-09-11 16:01:01 +02:00
Jimmy Cai
19ff7a46bb
fix(_default/term): switch to new image helper 2020-09-10 18:58:41 +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
0eb492edbd
fix(_default/single): make article card full width 2020-09-07 14:12:51 +02:00
Jimmy Cai
334e918bc3
fix(article): fix top padding 2020-09-07 11:49:33 +02:00
Jimmy Cai
2ab49f97ee
feat: add default/list
fix warning: found no layout file for "HTML" for kind "section": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
2020-09-06 14:18:38 +02:00
Jimmy Cai
a6870541dd feat: add head/custom and footer/custom for inserting custom code 2020-08-24 20:48:31 +02:00
Jimmy Cai
a1250ee75f feat(article): add render-link hook 2020-08-24 12:07:58 +02:00
Jimmy Cai
d36a7c0950 fix(markdown image): be able to insert external images 2020-08-22 21:02:30 +02:00
Jimmy Cai
c698d944e6 🎉 Initial commit 2020-08-22 13:20:08 +02:00