diff --git a/assets/css/_common/outline/sidebar/sidebar-toc.scss b/assets/css/_common/outline/sidebar/sidebar-toc.scss index d378d7c..cca699b 100644 --- a/assets/css/_common/outline/sidebar/sidebar-toc.scss +++ b/assets/css/_common/outline/sidebar/sidebar-toc.scss @@ -1,14 +1,15 @@ @if $toc_enable { .post-toc { font-size: $font-size-small; + padding: 0 8px; - ol { + ul { list-style: none; margin: 0; padding: 0 2px 5px 10px; text-align: left; - > ol { + > li { padding-left: 0; } diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 0daee31..a591f59 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -17,6 +17,15 @@ markup: goldmark: renderer: unsafe: true + highlight: + codeFences: true + lineNos: true + lineNumbersInTable: true + noClasses: true + tableOfContents: + endLevel: 3 + ordered: false + startLevel: 1 defaultContentLanguage: zh-cn languages: @@ -305,11 +314,11 @@ params: # Beian ICP and gongan information for Chinese users. See: https://beian.miit.gov.cn, http://www.beian.gov.cn beian: enable: true - icp: 粤ICP备18047355-1号 + icp: 粤ICP备 18047355-1 号 # The digit in the num of gongan beian. provinceAbbr: 沪 # The full num of gongan beian. - gonganNum: 11010102001808 + gonganNum: 31011402009770 # The icon for gongan beian. See: http://www.beian.gov.cn/portal/download #gongan_icon_url: diff --git a/exampleSite/content/about.md b/exampleSite/content/about.md new file mode 100644 index 0000000..ae17cc8 --- /dev/null +++ b/exampleSite/content/about.md @@ -0,0 +1,19 @@ +--- +title: "关于 Hugo NexT 组织" +description: "" + +date: 2022-06-09T20:12:52+08:00 +lastmod: 2022-06-09T20:12:52+08:00 + +share: false +followme: false +nav: false +copyright: false +url: about.html +--- + +`Hugo NexT` 组织是由众多喜爱 `NexT` 主题及风格的世界各地友人共同组建而成,为的就是让这个主题继续在 `Hugo` 引擎中也能得到发扬光大,在此也欢迎你的加入! + +# 我们的愿景 + +延续 `NexT` 经典的黑白调搭配,保持简单的易用性及强大的功能。 \ No newline at end of file diff --git a/exampleSite/content/posts/markdown-syntax.md b/exampleSite/content/posts/markdown-syntax.md index 9618861..ef223bd 100644 --- a/exampleSite/content/posts/markdown-syntax.md +++ b/exampleSite/content/posts/markdown-syntax.md @@ -41,12 +41,28 @@ url: markdown-syntax.html 根据[ W3C ](https://www.w3.org/)定义的[ HTML5 规范](https://www.w3.org/TR/html5/dom.html#elements),**HTML 文档由元素和文本组成**。每个元素的组成都由一个[开始标记](https://www.w3.org/TR/html5/syntax.html#syntax-start-tags)表示,例如: `
` ,和[结束标记](https://www.w3.org/TR/html5/syntax.html#syntax-end-tags)表示,例如: `` 。(*某些开始标记和结束标记在某些情况下可以省略,并由其他标记暗示。*) 元素可以具有属性,这些属性控制元素的工作方式。例如:超链接是使用 `a` 元素及其 `href` 属性形成的。 -## 图像 +### Markdown 语法 +```markdown + +```  +### HTML IMG 标签 + +```html +