Commit Graph

318 Commits

Author SHA1 Message Date
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
7f3d906f24
feat(article list/default): better thumbnail 2020-09-06 19:51:16 +02:00
Jimmy Cai
2ab49f97ee
feat: add default/list
fix warning: found no layout file for "HTML" for kind "section": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
2020-09-06 14:18:38 +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
52a9ec9825
feat(netlify): use netlify-plugin-hugo-cache-resources plugin 2020-09-06 13:35:55 +02:00
Jimmy Cai
e728263d13
feat(config): add .Params.widgets.archive.path 2020-09-06 13:28:24 +02:00
Jimmy Cai
06c724c141
fix(netlify): add ending slash to baseURL 2020-09-06 13:23:57 +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
292e96d764
feat(exampleSite): add featured images from Unsplash for demo site 2020-09-06 00:43:51 +02:00
Jimmy Cai
6cdb4b05ad
feat(article): change article-title font size 2020-09-05 01:09:46 +02:00
Jimmy Cai
5412977216
fix(style): wrong padding-top for .main 2020-09-05 00:59:50 +02:00
Jimmy Cai
799f0ac479
feat(archive): style improvement 2020-09-05 00:51:01 +02:00
Jimmy Cai
99eb6cdfd0
feat(article/related contents): style change 2020-09-05 00:50:08 +02:00
Jimmy Cai
2d68b9e8ce
fix(sidebar): misalignment 2020-09-04 13:10:11 +02:00
Jimmy Cai
be6fcfb526
feat(sidebar): prevent sidebar from moving on page scroll 2020-09-03 23:37:48 +02:00
Jimmy Cai
bbe7e4b73d
feat(style): improve typography styles 2020-09-03 23:32:28 +02:00
Jimmy Cai
488f124b43
fix(style): show y-axis page scrollbar always 2020-09-03 23:27:50 +02:00
Jimmy Cai
af487e0f3f
feat(style): remove timeago.js, and improve article-time style 2020-09-03 11:47:55 +02:00
Jimmy Cai
4bf9d82961
feat: style improvement 2020-09-03 11:42:01 +02:00
Jimmy Cai
ddfc10a9f5
feat(article): add site footer to page layout 2020-08-31 09:29:09 +02:00
Jimmy Cai
3385a34d28 feat: load custom font asynchronously 2020-08-29 17:06:02 +02:00
Jimmy Cai
1b948ed8c8 refactor: include timeago.js from JSDelivr 2020-08-29 16:53:27 +02:00
Jimmy Cai
6b1e660327 refactor(ts/color): improve code style and change name of some variables for more clarity 2020-08-29 11:43:00 +02:00
Jimmy Cai
746537a801 refactor(article): add components/details 2020-08-29 11:34:26 +02:00
Jimmy Cai
32732d4bf1 feat: avoid regenerate color scheme when image URL is changed
Use MD5 as key to identify images, and .Slug as id
2020-08-28 12:11:02 +02:00
Jimmy Cai
ced9823d99 feat(footer): add Github repo link in footer 2020-08-26 20:47:50 +02:00
Jimmy Cai
ffcb975e82 refactor(css): rename --pre-background to --pre-background-color 2020-08-25 23:19:57 +02:00
Jimmy Cai
f5e0b098c1 feat(article content): improve code tag style 2020-08-25 23:18:40 +02:00
Jimmy Cai
9cb3115914 feat(article list): make featured image clickable 2020-08-25 21:16:47 +02:00
Jimmy Cai
415b8a7a0a fix(article list): show all categories assigned to a post 2020-08-25 21:15:25 +02:00
Jimmy Cai
ff351ab294 feat(widget/archive): add config to limit output number 2020-08-25 12:39:03 +02:00
Jimmy Cai
98c819b858 fix(css): remove link color transition 2020-08-24 23:39:53 +02:00
Jimmy Cai
39eb9bdfb3 feat(css): add --pre-background and --pre-text-color variables 2020-08-24 23:32:24 +02:00
Jimmy Cai
f1bbe37eee
doc(README): add Netlify deploy status badge 2020-08-24 23:22:38 +02:00
Jimmy Cai
3176c92702 test(netlify): fix baseURL for production site 2020-08-24 23:12:57 +02:00
Jimmy Cai
a56c970e36 test(netlify): fix baseURL 2020-08-24 23:06:35 +02:00
Jimmy Cai
0c791bdec9 test: add netlify.toml 2020-08-24 23:03:13 +02:00
Jimmy Cai
62e8246357 Merge branch 'master' of https://github.com/CaiJimmy/hugo-theme-stack into master 2020-08-24 21:27:35 +02:00
Jimmy Cai
20a6fc4d09 feat: add exampleSite 2020-08-24 21:27:32 +02:00
Jimmy Cai
2d94f80b79 fix(sidebar): check if param exists before accessing avatar and icon 2020-08-24 21:20:59 +02:00
Jimmy Cai
a6870541dd feat: add head/custom and footer/custom for inserting custom code 2020-08-24 20:48:31 +02:00
Jimmy Cai
3c803ebd5c feat(scss); add --article-font-size and --article-line-height variables 2020-08-24 20:45:26 +02:00
Jimmy Cai
486b5d8245 feat(scss): font-family selection from yue.css 2020-08-24 20:43:10 +02:00
Jimmy Cai
3fa3a80dc2 refactor(scss): remove unused variables $container-padding and $container-width 2020-08-24 20:31:36 +02:00
Jimmy Cai
4e9a6f1421 refactor(scss): add --section-separation and --small-card-padding variables 2020-08-24 20:28:17 +02:00
Jimmy Cai
174f52d812 style(scss): change some SCSS variables to CSS variables 2020-08-24 19:35:52 +02:00