diff options
author | Dillon <dillonzq@outlook.com> | 2020-05-01 18:29:24 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-01 18:29:24 +0300 |
commit | e3e3bdf9ee64d8732216b2182ec2bac9f3d4e1e1 (patch) | |
tree | fd27f6d66465ab797f7ef2691092d57853d9aca3 /exampleSite/content | |
parent | 5b689bf29b6a74f1f26eecfae5cdeecbf45ab96c (diff) |
feat(rss): add rssFullText param for RSS (#301)
Diffstat (limited to 'exampleSite/content')
6 files changed, 14 insertions, 2 deletions
diff --git a/exampleSite/content/posts/theme-documentation-basics.en.md b/exampleSite/content/posts/theme-documentation-basics.en.md index 4836dee..cc479b0 100644 --- a/exampleSite/content/posts/theme-documentation-basics.en.md +++ b/exampleSite/content/posts/theme-documentation-basics.en.md @@ -401,6 +401,8 @@ Please open the code block below to view the complete sample configuration :(far fontawesome = true # whether to show link to Raw Markdown content of the content linkToMarkdown = true + # {{< version 0.2.4 >}} whether to show the full text content in RSS + rssFullText = false # {{< version 0.2.0 >}} Table of the contents config [params.page.toc] # whether to enable the table of the contents diff --git a/exampleSite/content/posts/theme-documentation-basics.fr.md b/exampleSite/content/posts/theme-documentation-basics.fr.md index 733c244..45f1953 100644 --- a/exampleSite/content/posts/theme-documentation-basics.fr.md +++ b/exampleSite/content/posts/theme-documentation-basics.fr.md @@ -406,6 +406,8 @@ Please open the code block below to view the complete sample configuration :(far fontawesome = true # whether to show link to Raw Markdown content of the content linkToMarkdown = true + # {{< version 0.2.4 >}} whether to show the full text content in RSS + rssFullText = false # {{< version 0.2.0 >}} Table of the contents config [params.page.toc] # whether to enable the table of the contents diff --git a/exampleSite/content/posts/theme-documentation-basics.zh-cn.md b/exampleSite/content/posts/theme-documentation-basics.zh-cn.md index c1d086d..76103d6 100644 --- a/exampleSite/content/posts/theme-documentation-basics.zh-cn.md +++ b/exampleSite/content/posts/theme-documentation-basics.zh-cn.md @@ -404,6 +404,8 @@ hugo fontawesome = true # 是否在文章页面显示原始 Markdown 文档链接 linkToMarkdown = true + # {{< version 0.2.4 >}} 是否在 RSS 中显示全文内容 + rssFullText = false # {{< version 0.2.0 >}} 目录配置 [params.page.toc] # 是否使用目录 diff --git a/exampleSite/content/posts/theme-documentation-content.en.md b/exampleSite/content/posts/theme-documentation-content.en.md index f7373df..651279c 100644 --- a/exampleSite/content/posts/theme-documentation-content.en.md +++ b/exampleSite/content/posts/theme-documentation-content.en.md @@ -68,6 +68,7 @@ ruby: true fraction: true fontawesome: true linkToMarkdown: true +rssFullText: false toc: enable: true @@ -112,7 +113,8 @@ comment: * **ruby**: {{< version 0.2.0 >}} if `true`, the content will enable the [ruby extended syntax](#ruby). * **fraction**: {{< version 0.2.0 >}} if `true`, the content will enable the [fraction extended syntax](#fraction). * **fontawesome**: {{< version 0.2.0 >}} if `true`, the content will enable the [Font Awesome extended syntax](#fontawesome). -* **linkToMarkdown**: if `true`, the footer of the content will show the link to the orignal Markdown file. +* **linkToMarkdown**: if `true`, the footer of the content will be shown the link to the orignal Markdown file. +* **rssFullText**: {{< version 0.2.4 >}} if `true`, the full text content will be shown in RSS. * **toc**: {{< version 0.2.0 changed >}} the same as the `params.page.toc` part in the [site configuration](../theme-documentation-basics#site-configuration). * **code**: {{< version 0.2.0 >}} the same as the `params.page.code` part in the [site configuration](../theme-documentation-basics#site-configuration). diff --git a/exampleSite/content/posts/theme-documentation-content.fr.md b/exampleSite/content/posts/theme-documentation-content.fr.md index feda822..11f5687 100644 --- a/exampleSite/content/posts/theme-documentation-content.fr.md +++ b/exampleSite/content/posts/theme-documentation-content.fr.md @@ -73,6 +73,7 @@ ruby: true fraction: true fontawesome: true linkToMarkdown: true +rssFullText: false toc: enable: true @@ -117,7 +118,8 @@ comment: * **ruby**: {{< version 0.2.0 >}} if `true`, the content will enable the [ruby extended syntax](#ruby). * **fraction**: {{< version 0.2.0 >}} if `true`, the content will enable the [fraction extended syntax](#fraction). * **fontawesome**: {{< version 0.2.0 >}} if `true`, the content will enable the [Font Awesome extended syntax](#fontawesome). -* **linkToMarkdown**: if `true`, the footer of the content will show the link to the orignal Markdown file. +* **linkToMarkdown**: if `true`, the footer of the content will be shown the link to the orignal Markdown file. +* **rssFullText**: {{< version 0.2.4 >}} if `true`, the full text content will be shown in RSS. * **toc**: {{< version 0.2.0 changed >}} the same as the `params.page.toc` part in the [site configuration](../theme-documentation-basics#site-configuration). * **code**: {{< version 0.2.0 >}} the same as the `params.page.code` part in the [site configuration](../theme-documentation-basics#site-configuration). diff --git a/exampleSite/content/posts/theme-documentation-content.zh-cn.md b/exampleSite/content/posts/theme-documentation-content.zh-cn.md index 9a6cd46..cedb85d 100644 --- a/exampleSite/content/posts/theme-documentation-content.zh-cn.md +++ b/exampleSite/content/posts/theme-documentation-content.zh-cn.md @@ -68,6 +68,7 @@ ruby: true fraction: true fontawesome: true linkToMarkdown: true +rssFullText: false toc: enable: true @@ -113,6 +114,7 @@ comment: * **fraction**: {{< version 0.2.0 >}} 如果设为 `true`, 这篇文章会使用 [分数扩展语法](#fraction). * **fontawesome**: {{< version 0.2.0 >}} 如果设为 `true`, 这篇文章会使用 [Font Awesome 扩展语法](#fontawesome). * **linkToMarkdown**: 如果设为 `true`, 内容的页脚将显示指向原始 Markdown 文件的链接. +* **rssFullText**: {{< version 0.2.4 >}} 如果设为 `true`, 在 RSS 中将会显示全文内容. * **toc**: {{< version 0.2.0 changed >}} 和 [网站配置](../theme-documentation-basics#site-configuration) 中的 `params.page.toc` 部分相同. * **code**: {{< version 0.2.0 >}} 和 [网站配置](../theme-documentation-basics#site-configuration) 中的 `params.page.code` 部分相同. |