Ahmad Helaly
30fdd000f9
feat(article): add readingTime
front matter field to overwrite global configuration ( #701 )
...
* add DisableReadTime for articles
* change frontmatter disableReadingTime to readingTime
2022-10-22 11:48:00 +02:00
Spence Churchill
5e350b92e8
refactor: rename "Related contents" to "Related content" ( #567 )
2022-06-05 17:20:08 +02:00
Jimmy Cai
8abaa444c1
refactor: add flexbox gap to .article-details
2022-03-03 22:36:17 +00:00
Jimmy Cai
04cdbcfedf
refactor: Use flexbox gap ( #520 )
2022-03-03 23:11:19 +01:00
Jimmy Cai
b3b8fa73ef
feat(article): add link to translated content ( #511 )
2022-02-27 09:48:57 +01:00
zhixuan
0af9d23e49
feat(article): add scroll for table ( #428 )
...
* feat: table can't scroll & delete scrollbar style for Chromium
* Undo some line breaks
* Add a table with overflow to exampleSite
2022-01-20 12:09:25 +01:00
Jimmy Cai
455e23f22b
feat: page links ( #446 )
2021-12-28 11:28:20 +01:00
zhixuan
bcbba1eed0
fix(article): change .article-time
classname to .article-lastmod
( #306 )
2021-08-15 11:12:56 +02:00
Simon Guest
44e3d20bad
feat(article): use markdownify
for licence in article ( #273 )
...
* Use markdownify for licence in article
So we can use links, e.g. to credits for main photo.
* refactor: move .article-copyright style to partials/layout/article
Co-authored-by: Jimmy Cai <github@jimmycai.com>
2021-07-25 19:50:52 +02:00
Bachrul uluum
dcfc7b5589
feat(article): reading time ( #204 )
...
* add reading time feature
* Revert change in jsconfig.json
* feat: add article.readingTime param, and improve style
* Revert change in jsconfig.json x2
* Remove reading time in compact layout
It doesn't look right to me for now
* feat: add i18n support to reading time string
* Hide footer.article-time when there's not content
Co-authored-by: Jimmy Cai <github@jimmycai.com>
2021-07-23 18:37:30 +02:00
Jimmy Cai
8b17b8a4ee
feat: add data/external.yaml ( #140 )
...
* feat: add data/external.yaml
Manage all external resources URL in one file
* style: format data/external
* style(helper/external): error message
* remove whitespace
2021-02-12 13:21:43 +01:00
Jimmy Cai
39dd18e603
feat(math): add inline math support ( #88 )
2020-12-24 10:57:01 +01:00
Jimmy Cai
2ad65a4c07
feat: add option to disable image processing ( #83 )
...
* feat: add option to disable image processing
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/37
* refactor(list): use article/components/header inside default.html
* refactor: use .Fill for cover image
2020-12-23 21:02:35 +01:00
Jimmy Cai
e606dca404
refactor(article): remove color tag & add custom category color ( #75 )
...
closes: https://github.com/CaiJimmy/hugo-theme-stack/issues/71
2020-12-22 19:43:14 +01:00
Jimmy Cai
31c42bcfe7
refactor(gallery): rewrite gallery ( #79 )
...
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/70
2020-12-22 19:35:37 +01:00
Jimmy Cai
d205753323
refactor(i18n): translation key renaming ( #68 )
...
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/63
2020-12-19 01:41:26 +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
b5645f0180
refactor: use relative link for hyperlinks
2020-10-31 23:24:58 +01: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
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
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
b14ca5d15b
feat(article): add KaTeX support
2020-09-21 16:22:44 +02:00
Jimmy Cai
117dd4b81e
fix(article/details): fix custom taxonomy link
2020-09-18 20:05:19 +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
cf6502c311
feat: add partialCached to helper/image invocation
...
Using .RelPermalink as key for cache
2020-09-17 21:52:06 +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
d14a39913c
style(partial/article): remove empty space in classname
2020-09-12 10:37:55 +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
a2662603df
feat(helper/image): new way to set default image
2020-09-11 16:27:23 +02:00
Jimmy Cai
cfd4cdb731
feat(helper/image): new return format
2020-09-11 16:01:01 +02:00
Jimmy Cai
28c06ef8ae
feat(helper/image): new image helper (WIP)
2020-09-10 18:53:36 +02:00
Jimmy Cai
04454a51ea
feat(i18n): change lastUpdatedOn
item struct
2020-09-09 22:41:42 +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
c546964ce4
feat(comments): prepare for more third party comments system integration
2020-09-08 23:30:15 +02:00
Jimmy Cai
d2cc93d5c7
fix(article/footer): display last updated time only when it's different to article publish time
2020-09-06 20:33:23 +02:00
Jimmy Cai
0cac2218e3
feat(article): display last updated time of a post
2020-09-06 20:26:18 +02:00
Jimmy Cai
3742a0775b
feat(article/details): better article time display
2020-09-06 20:10:25 +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
47fb5af201
refactor: change config.toml structure
2020-09-06 12:56:44 +02:00
Jimmy Cai
99eb6cdfd0
feat(article/related contents): style change
2020-09-05 00:50:08 +02:00