Commit graph

95 commits

Author SHA1 Message Date
romainx
ddebaee028 Fix tags and categories using GetTerms
See [documentation](https://gohugo.io/templates/taxonomy-templates/#display-a-single-piece-of-contents-taxonomies)
2020-10-09 19:26:28 +02:00
Jimmy Cai
8e8509177d
Merge branch 'master' into template-search 2020-10-09 19:12:50 +02:00
Jimmy Cai
b3a4f3b156
doc(exampleSite): add lastmod field to about page
To test last updated output
2020-10-09 19:03:56 +02:00
Jimmy Cai
3bc73a8b48
Merge branch 'master' into template-search 2020-10-05 22:41:47 +02:00
Jimmy Cai
809fa7860d
refactor(config): add line break between sections (#26)
For better readability
2020-10-05 08:56:03 +02:00
Jimmy Cai
d461267734
refactor(config): deprecate article default image
Remove [params.defaultImage.article] and [params.defaultImage.articleList] from config.toml
2020-10-05 08:14:51 +02:00
Jimmy Cai
17d77155bf
Merge branch 'master' into template-search 2020-10-04 16:27:22 +02:00
Jimmy Cai
9fcdedf042
feat(comments): add utterances support
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/21
2020-10-04 16:23:08 +02:00
Jimmy Cai
b027cbf5aa
Merge branch 'master' into template-search 2020-10-04 16:05:02 +02:00
ress
c2e8d7fc5b
fix(config.toml): typo Licenced -> Licensed (#22) 2020-10-03 22:24:28 +02:00
Jimmy Cai
08102e2f69
feat(exampleSite): add search page and widget 2020-09-26 12:06:56 +02:00
Jimmy Cai
d55cc303d4
feat(rss): add RSS template
fix: hidden post being shown in RSS output
feat: add config to output full content in RSS
2020-09-23 22:32:20 +02:00
Jimmy Cai
b14ca5d15b
feat(article): add KaTeX support 2020-09-21 16:22:44 +02:00
Jimmy Cai
69e41b1c0d
ci(netlify): move plugins folder to exampleSite 2020-09-17 22:30:21 +02:00
Jimmy Cai
96ff911c6e
feat(article): better syntax highlight style
Adapt to light & dark mode
2020-09-17 19:48:21 +02:00
Jimmy Cai
4267346a4a
fix: use absLangURL for menu url
To avoid problem when the site is hosted in subdirectory
2020-09-13 14:03:41 +02:00
Jimmy Cai
b06910fc5d
feat: add avatar placeholder to assets/img 2020-09-13 11:30:31 +02:00
Jimmy Cai
c12de4db04
refactor: rename archive -> archives in config.toml
And rename SVG icon.
2020-09-13 11:26:12 +02:00
Jimmy Cai
7379bbe412
refactor: rename archive -> archives 2020-09-13 11:22:47 +02:00
Jimmy Cai
294f445e0a
doc(config.toml): change baseurl to https://example.com
Following Hugo theme showcase guideline
2020-09-13 10:51:31 +02:00
Jimmy Cai
b64cbe1ef8
refactor(head): remove favicon output
It's better to use favicon generator tools, and paste HTML in head/custom.html
2020-09-11 21:59:05 +02:00
Jimmy Cai
5f7e818b92
refactor(head/opengraph): split code into modules 2020-09-11 21:55:15 +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
2acd380e98
feat(helper/image): customize field used to get featured image 2020-09-11 17:54:16 +02:00
Jimmy Cai
a2662603df
feat(helper/image): new way to set default image 2020-09-11 16:27:23 +02:00
Jimmy Cai
4d0e260318
feat(i18n): make dateFormat part of theme config 2020-09-09 17:35:22 +02:00
Jimmy Cai
ed4a43096c
feat(i18n): initial support for i18n 2020-09-09 17:17:09 +02:00
Jimmy Cai
35f162943d
doc(exampleSite): add Chinese test post 2020-09-09 12:20:37 +02:00
Jimmy Cai
f051517f0a
revert: doc(config.toml): remove permalinks settings from exampleSite config.toml
This reverts commit ea0f064cdf.
2020-09-08 23:53:16 +02:00
Jimmy Cai
321226b42d
doc(exampleSite): change example site domain 2020-09-08 23:49:06 +02:00
Jimmy Cai
c36f811162
doc(exampleSite): add disqus shortname for example site 2020-09-08 23:42:23 +02:00
Jimmy Cai
ea0f064cdf
doc(config.toml): remove permalinks settings from exampleSite config.toml
It's not very related to the theme
2020-09-08 23:31:32 +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
b5bcbcee12
doc(exampleSite): Remove unused markdown files 2020-09-08 09:15:59 +02:00
Jimmy Cai
90bdc34eb8
feat(article): custom license per article 2020-09-06 14:02:48 +02:00
Jimmy Cai
0745285e71
feat(config.toml): change config structure for article license 2020-09-06 13:58:21 +02:00
Jimmy Cai
e728263d13
feat(config): add .Params.widgets.archive.path 2020-09-06 13:28:24 +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
47fb5af201 refactor: change config.toml structure 2020-09-06 12:56:44 +02:00
Jimmy Cai
292e96d764
feat(exampleSite): add featured images from Unsplash for demo site 2020-09-06 00:43:51 +02:00
Jimmy Cai
ff351ab294 feat(widget/archive): add config to limit output number 2020-08-25 12:39:03 +02:00
Jimmy Cai
20a6fc4d09 feat: add exampleSite 2020-08-24 21:27:32 +02:00
Jimmy Cai
8476bd0160 feat(head): add favicon support 2020-08-23 11:32:53 +02:00
Jimmy Cai
901d1f63fc refactor(opengraph): move OpenGraph related settings to .Params.opengraph 2020-08-23 11:30:10 +02:00
Jimmy Cai
e5dc445b22 📝 Add example config.toml 2020-08-22 13:25:07 +02:00