Commit Graph

27 Commits

Author SHA1 Message Date
Jimmy Cai
b14ca5d15b
feat(article): add KaTeX support 2020-09-21 16:22:44 +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
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
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
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
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