diff --git a/CHANGELOG.md b/CHANGELOG.md index e1e65c37..59b97d73 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ -## v0.2.12 [2022-1-14] +## v0.2.12 [2022-1-18] - :tada: Feat: add PWA support - :tada: Feat: add Watermark support ([#16](https://github.com/Lruihao/FixIt/issues/16)) @@ -8,6 +8,9 @@ - :sparkles: Feat: add pangu.js support ([#20](https://github.com/Lruihao/FixIt/issues/20)) - :sparkles: Feat: add public network security config (only in China) ([#15](https://github.com/Lruihao/FixIt/issues/15)) - :sparkles: Feat: add CustomJS option ([#24](https://github.com/Lruihao/FixIt/issues/24)) +- :sparkles: Feat: add theme embedded archeTypes +- :mag: Feat(SEO): optimize SEO meta ([#30](https://github.com/Lruihao/FixIt/issues/30)) +- :fire: Feat: remove lib smooth-scroll ([#1](https://github.com/Lruihao/FixIt/issues/1)) - :zap: Perf: merge shortcode cardlink (deprecated v0.2.13) into shortcode link and add 'download' param ([#42](https://github.com/Lruihao/FixIt/issues/42)) - :zap: Perf: optimize JS loading ([#25](https://github.com/Lruihao/FixIt/issues/25)) - :recycle: Refactor: header title DOM and add subtitle option ([#26](https://github.com/Lruihao/FixIt/issues/26)) @@ -15,8 +18,6 @@ - :bug: Fix: add scroll-margin to all anchors of page content ([#39](https://github.com/Lruihao/FixIt/issues/39)) - :bug: Fix: pre element overflow error ([#29](https://github.com/Lruihao/FixIt/issues/29)) - :bug: Fix: toc display error without content header ([#21](https://github.com/Lruihao/FixIt/issues/21)) -- :fire: Feat: remove lib smooth-scroll ([#1](https://github.com/Lruihao/FixIt/issues/1)) -- :mag: Feat(SEO): optimize SEO meta ([#30](https://github.com/Lruihao/FixIt/issues/30)) - :lipstick: Style: change scroll-behavior to smooth, header style, footer style etc. - :pencil: Docs: improve demo site documentation ([#37](https://github.com/Lruihao/FixIt/issues/37)) - :wrench: Chore: minify static images @@ -37,6 +38,6 @@ [`v0.2.10...v0.2.11`](https://github.com/Lruihao/FixIt/compare/v0.2.10...v0.2.11) -## v0.2.10 :arrow_down: +## v0.2.10 :arrow_down: [2020-5-29 before] Thanks [dillonzq/LoveIt](https://github.com/dillonzq/LoveIt/releases) \ No newline at end of file diff --git a/archetypes/default.md b/archetypes/default.md index 3fa8440c..cb8a7147 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -2,27 +2,7 @@ title: "{{ replace .TranslationBaseName "-" " " | title }}" subtitle: "" date: {{ .Date }} -lastmod: {{ .Date }} -draft: true -author: "" -authorLink: "" description: "" - -tags: [] -categories: [] - -hiddenFromHomePage: false -hiddenFromSearch: false - -featuredImage: "" -featuredImagePreview: "" - -toc: - enable: true -math: - enable: false -lightgallery: false -license: "" +keywords: "" +comment: false --- - - diff --git a/archetypes/friends.md b/archetypes/friends.md new file mode 100644 index 00000000..1ca7cff0 --- /dev/null +++ b/archetypes/friends.md @@ -0,0 +1,27 @@ +--- +title: "{{ replace .TranslationBaseName "-" " " | title }}" +subtitle: "" +type: "friends" +date: {{ .Date }} +description: "Friends of {{ .Site.Author.name }}" +keywords: + - Hugo + - friends tempalate +comment: false +--- + + +--- + +## Base info +```yaml +- nickname: Lruihao + avatar: https://lruihao.cn/images/avatar.jpg + url: https://lruihao.cn + discription: Lruihao's Note +``` + +## Friendly Reminder +> 1. If you want to exchange link, please leave a comment in the above format. (personal non-commercial blogs / websites only) +> 2. Warn: Website failure, stop maintenance and improper content may be cancelled! +> 3. Those websites that do not respect other people's labor achievements, reprint without source, or malicious acts, please do not come to exchange. diff --git a/archetypes/offline.md b/archetypes/offline.md new file mode 100644 index 00000000..f3a04a4e --- /dev/null +++ b/archetypes/offline.md @@ -0,0 +1,10 @@ +--- +type: "offline" +description: "{{ T "offlineTitle" }} - {{ .Site.Title }}" +keywords: + - PWA + - offline + - 离线 +--- + + diff --git a/archetypes/post-bundle/index.md b/archetypes/post-bundle/index.md new file mode 100644 index 00000000..5d8ac491 --- /dev/null +++ b/archetypes/post-bundle/index.md @@ -0,0 +1,35 @@ +--- +# command: `hugo new --kind post-bundle posts/my-post` +title: "{{ replace .TranslationBaseName "-" " " | title }}" +subtitle: "" +date: {{ .Date }} +draft: true +author: "" +authorLink: "" +description: "" +keywords: "" +license: "" +comment: false + +tags: + - draft +categories: + - draft + +hiddenFromHomePage: false +hiddenFromSearch: false + +# custom summary instead of +summary: "" +# Full link or relative root link of image +featuredImage: "" +featuredImagePreview: "" + +toc: + enable: true +math: + enable: false +lightgallery: false +--- + + \ No newline at end of file diff --git a/archetypes/posts.md b/archetypes/posts.md new file mode 100644 index 00000000..c065a377 --- /dev/null +++ b/archetypes/posts.md @@ -0,0 +1,34 @@ +--- +title: "{{ replace .TranslationBaseName "-" " " | title }}" +subtitle: "" +date: {{ .Date }} +draft: true +author: "" +authorLink: "" +description: "" +keywords: "" +license: "" +comment: false + +tags: + - draft +categories: + - draft + +hiddenFromHomePage: false +hiddenFromSearch: false + +# custom summary instead of +summary: "" +# Full link or relative root link of image +featuredImage: "" +featuredImagePreview: "" + +toc: + enable: true +math: + enable: false +lightgallery: false +--- + + diff --git a/exampleSite/content/friends/index.en.md b/exampleSite/content/friends/index.en.md index 19e96c3c..0ed15e21 100644 --- a/exampleSite/content/friends/index.en.md +++ b/exampleSite/content/friends/index.en.md @@ -2,6 +2,9 @@ title: "Friends" subtitle: This is just a demo website, no links exchange ~ type: "friends" +keywords: + - Hugo + - friends tempalate comment: false --- diff --git a/exampleSite/content/friends/index.zh-cn.md b/exampleSite/content/friends/index.zh-cn.md index f4344b5e..35e2fb4f 100644 --- a/exampleSite/content/friends/index.zh-cn.md +++ b/exampleSite/content/friends/index.zh-cn.md @@ -2,6 +2,9 @@ title: "友情链接" subtitle: 这只是一个演示网站,不进行友链交换哦 ~ type: "friends" +keywords: + - Hugo + - friends tempalate comment: false ---