Commit Graph

96 Commits

Author SHA1 Message Date
Jimmy Cai
cd408279e4 release: 1.1.0 version 2020-11-08 00:28:30 +01:00
Jimmy Cai
a81dac7bb0
Merge branch 'master' into template-search 2020-11-06 12:09:23 +01:00
Jimmy Cai
c018f4967a feat(search): i18n support 2020-11-06 11:49:30 +01:00
Ahmad Yasser
37a2090739
fix(article): related contents is showing hidden post 2020-11-06 16:19:26 +08:00
Ahmad Yasser
a3f1d84c51
fix(article): related contents is showing hidden post 2020-11-06 11:10:30 +08:00
Jimmy Cai
b3df22940d
Merge branch 'master' into template-search 2020-10-31 23:37:36 +01:00
Jimmy Cai
b5645f0180 refactor: use relative link for hyperlinks 2020-10-31 23:24:58 +01:00
Jimmy Cai
c666c79800
Merge branch 'master' into template-search 2020-10-17 10:45:17 +02:00
Jimmy Cai
5c55bd2d33 feat(widget): new archive widget style 2020-10-17 10:34:36 +02:00
Jimmy Cai
49e568faac
refactor: add .section-title (#36)
For the small title before the card

Remove .widget-title, .archive-date, .taxonomy-type from SCSS, as they all share the same style.
2020-10-12 20:49:56 +02:00
Jimmy Cai
26fedaebd2
refactor(search): include icon using helper/icon 2020-10-12 20:31:40 +02:00
Jimmy Cai
c266204f98
Merge branch 'master' into template-search 2020-10-10 10:05:31 +02:00
Jimmy Cai
a4418951d0
release: 1.0.5 version 2020-10-10 09:57:04 +02:00
Jimmy Cai
9df7271547
refactor: remove humanize function from taxonomy name 2020-10-10 09:13:40 +02:00
Jimmy Cai
871e8c0bd5
feat(helper): add helper/icon 2020-10-10 00:27:56 +02:00
Romain
14dacb5448
Merge branch 'master' into fix 2020-10-09 19:27:31 +02:00
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
8d508fb796
refactor(i18n/article): remove date variable from lastUpdatedOn item
Due to Hugo v0.76's i18n behaviour change
2020-10-09 19:01:37 +02:00
romainx
1d95c4b8ff Fix categories with special char or spaces not displayed correctly
Call to [`urlize`](https://gohugo.io/functions/urlize/) to get the category url instead of using its name directly.
2020-10-09 09:49:19 +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
c19780280e
feat: add "head" block 2020-09-26 23:00:48 +02:00
Jimmy Cai
21f461ce78
feat(widget): add search widget 2020-09-26 11:40:52 +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
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
9d76ab371f
feat(archive widget): improve "more" link
Link it to the next available year
2020-09-20 13:26:10 +02:00
Jimmy Cai
0bcfb160f1
fix: use .RelPermalink to include CSS 2020-09-20 11:33:32 +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
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
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
7379bbe412
refactor: rename archive -> archives 2020-09-13 11:22:47 +02:00
Jimmy Cai
2451b194dc
refactor: use relLangURL to build relative links
For better i18n support

Fixes archive page path
Remove tag cloud term exclusion

closes https://github.com/CaiJimmy/hugo-theme-stack/issues/8
2020-09-13 10:14:17 +02:00
Jimmy Cai
f0b3617ec4
fix(helper/image): add support for relative linked image 2020-09-12 22:14:32 +02:00
Jimmy Cai
d14a39913c
style(partial/article): remove empty space in classname 2020-09-12 10:37:55 +02:00
Jimmy Cai
a31f0aae91
fix(head): default description not applied correctly 2020-09-11 23:04:26 +02:00
Jimmy Cai
5265af0b3b
reafctor(head): rewrite description.html function 2020-09-11 23:00:19 +02:00