Commit Graph

186 Commits

Author SHA1 Message Date
Jimmy Cai
feff86a9b4
Merge branch 'master' of https://github.com/CaiJimmy/hugo-theme-stack into master 2020-10-04 15:58:35 +02:00
Jimmy Cai
1749a9168f
feat: style adjustment 2020-10-04 15:58:32 +02:00
ress
c2e8d7fc5b
fix(config.toml): typo Licenced -> Licensed (#22) 2020-10-03 22:24:28 +02:00
Jimmy Cai
f92fb41fd7
doc: update theme.toml 2020-10-02 00:35:13 +02:00
Jimmy Cai
bd8e03ba61
fix(rss): remove featured image width height attr
Throws error when featured image is not found inside page bundle.

closes https://github.com/CaiJimmy/hugo-theme-stack/issues/20
2020-09-28 16:12:52 +02:00
Jimmy Cai
12578a5769
fix(widgets): add margin bottom for last widget 2020-09-25 23:19:21 +02:00
Jimmy Cai
0e8083e7d0
feat(widget/archives): padding adjustment 2020-09-25 23:18:21 +02:00
Jimmy Cai
5a7c9b6783
feat(article): style improvement 2020-09-25 11:07:49 +02:00
Jimmy Cai
96897be941
feat(article list): article clickable and equal height 2020-09-24 23:59:00 +02:00
Jimmy Cai
c6661196ad
release: version 1.0.4 2020-09-23 23:54:50 +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
5b7f96e778
chore: update compiled SCSS file 2020-09-23 13:26:29 +02:00
Jimmy Cai
a2a49e7537
refactor(scss): remove alert style and script
It is not used in this theme
2020-09-23 13:22:03 +02:00
Jimmy Cai
26acceb37d
feat(scss): improve 2 column style 2020-09-23 13:20:18 +02:00
Jimmy Cai
b14ca5d15b
feat(article): add KaTeX support 2020-09-21 16:22:44 +02:00
Jimmy Cai
0cee4930e2
fix(disqus): fix container padding
Rename `--content-padding` to `--card-padding`
2020-09-20 23:45:44 +02:00
Jimmy Cai
02f2badffc
refactor(scss): rename --content-padding to --card-padding
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/16
2020-09-20 19:03:41 +02:00
Jimmy Cai
9d76ab371f
feat(archive widget): improve "more" link
Link it to the next available year
2020-09-20 13:26:10 +02:00
Jimmy Cai
75f5c209e1
chore: update compiled CSS file 2020-09-20 12:31:37 +02:00
Jimmy Cai
0bcfb160f1
fix: use .RelPermalink to include CSS 2020-09-20 11:33:32 +02:00
Jimmy Cai
3a003eadca
Merge pull request #13 from CaiJimmy/custom-taxonomy-permalink
feat(article): add support for custom taxonomy link
2020-09-18 20:06:42 +02:00
Jimmy Cai
117dd4b81e
fix(article/details): fix custom taxonomy link 2020-09-18 20:05:19 +02:00
Jimmy Cai
b2a1afd744
feat(tag cloud): add support for custom taxonomy link 2020-09-18 10:58:38 +02:00
Jimmy Cai
d292727821
Merge branch 'master' into custom-taxonomy-permalink 2020-09-18 00:35:43 +02:00
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
b540350d76
feat(article): add support for custom taxonomy link 2020-09-18 00:00:39 +02:00
Jimmy Cai
c74cc3e4b3
feat(article): add partialCached to article/components/details
Avoid rendering twice (in post list and article page)
2020-09-17 23:13:50 +02:00
Jimmy Cai
e20d401007
Merge pull request #11 from CaiJimmy/netlify-cache
ci: add cache for Netlify build
2020-09-17 22:33:58 +02:00
Jimmy Cai
4a12e6fc31
Merge pull request #10 from CaiJimmy/partials-cache
feat: add partialCached for some of the most invocated partial templates
2020-09-17 22:33:29 +02:00
Jimmy Cai
69e41b1c0d
ci(netlify): move plugins folder to exampleSite 2020-09-17 22:30:21 +02:00
Jimmy Cai
3496001c26
fix(netlify): add . to plugin dir 2020-09-17 22:26:08 +02:00
Jimmy Cai
c597c208a8
ci(netlify): add resources cache
Modified https://github.com/cdeleeuwe/netlify-plugin-hugo-cache-resources, set cache dir to `exampleSite/resources`
2020-09-17 22:21:14 +02:00
Jimmy Cai
bad33e19ae
feat(post/single): add partialCached for PhotoSwipe HTML
Forgot to add it
2020-09-17 22:09:15 +02:00
Jimmy Cai
8f0d420d24
feat: add partialCached for data/title data/description 2020-09-17 21:59:57 +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
96ff911c6e
feat(article): better syntax highlight style
Adapt to light & dark mode
2020-09-17 19:48:21 +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
841508f491
fix(menu): use <ol> to wrap menu items 2020-09-14 13:38:24 +02:00
Jimmy Cai
1e28a661d9
fix(article list): specify image width in srcset 2020-09-14 13:37:50 +02:00
Jimmy Cai
8c4ad17a09
feat(footer): add rel="noopener" to footer links 2020-09-14 13:37:15 +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
779982eb95
doc: update theme.toml 2020-09-13 12:27:14 +02:00
Jimmy Cai
a750e02629
doc: add screenshots 2020-09-13 12:24:07 +02:00
Jimmy Cai
f26a9fa070
feat: add support for non-extended version of Hugo
resources folder is included now, with compiled SCSS file
2020-09-13 12:16:43 +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
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