Commit graph

543 commits

Author SHA1 Message Date
Jimmy Cai
1749a9168f
feat: style adjustment 2020-10-04 15:58:32 +02:00
Jimmy Cai
84a15e1604
feat(search): return results at typing 2020-10-04 15:53:27 +02:00
Jimmy Cai
8aeb562bb3
feat(search): preload search.json 2020-10-04 15:45:23 +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
c19780280e
feat: add "head" block 2020-09-26 23:00:48 +02:00
Jimmy Cai
6e48765d82
fix(search): HTML escape issue 2020-09-26 22:50:23 +02:00
Jimmy Cai
08102e2f69
feat(exampleSite): add search page and widget 2020-09-26 12:06:56 +02:00
Jimmy Cai
6fa69d7a2b
feat: add search icon 2020-09-26 12:05:13 +02:00
Jimmy Cai
21f461ce78
feat(widget): add search widget 2020-09-26 11:40:52 +02:00
Jimmy Cai
e5f96c8762
feat: add search template 2020-09-26 11:40:33 +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