diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a48cf0d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +public diff --git a/config/_default/menu.en.toml b/config/_default/menu.en.toml index fc6a711..073dac4 100644 --- a/config/_default/menu.en.toml +++ b/config/_default/menu.en.toml @@ -1,17 +1,21 @@ [[main]] name = "News" - url = "https://example.org" + identifier = "news" + pre = '' + weight = 2 +#url = "https://example.org" -[[main]] - name = "Tutorials" - identifier = "tutorials" +#[[main]] +# name = "Tutorials" +# identifier = "tutorials" [[main]] - name = "Dropdown" - identifier = "dropdown" + name = "About" + identifier = "about" + pre = '' [[main]] - parent = "dropdown" + parent = "about" name = "Github" - url = "https://github.com/razonyang/hugo-theme-bootstrap" + url = "https://github.com/loongarch64/" pre = '' diff --git a/config/_default/menu.zh-cn.toml b/config/_default/menu.zh-cn.toml index b37cc77..f1adbc1 100644 --- a/config/_default/menu.zh-cn.toml +++ b/config/_default/menu.zh-cn.toml @@ -1,19 +1,23 @@ [[main]] name = "新闻" - url = "https://example.org" + identifier = "news" + pre = '' weight = 2 +#url = "https://example.org" -[[main]] - name = "教程" - identifier = "tutorials" - weight = 1 +#[[main]] +# name = "教程" +# identifier = "tutorials" +# weight = 1 +# pre = '' [[main]] - name = "下拉菜单" - identifier = "dropdown" + name = "关于" + identifier = "about" + pre = '' [[main]] - parent = "dropdown" + parent = "about" name = "Github" url = "https://github.com/loongarch64/" pre = '' diff --git a/content/zh-cn/about.md b/content/zh-cn/about.md index 2959155..bb08465 100644 --- a/content/zh-cn/about.md +++ b/content/zh-cn/about.md @@ -2,10 +2,13 @@ title: "关于" date: 2021-01-02T12:03:50+08:00 draft: false -menu: "main" -weight: 8 +menu: + main: + parent: "about" + pre: '' --- -# 关于 + +LoongArch 指令集 解释, Hello, world. diff --git a/content/zh-cn/docs/_index.md b/content/zh-cn/docs/_index.md index 7126d79..e515b6e 100644 --- a/content/zh-cn/docs/_index.md +++ b/content/zh-cn/docs/_index.md @@ -2,6 +2,6 @@ title = "文档" [menu.main] weight = 30 - pre = '' + pre = '' url = "docs/" +++ diff --git a/content/zh-cn/posts/creating-a-new-theme.md b/content/zh-cn/docs/creating-a-new-theme.md similarity index 99% rename from content/zh-cn/posts/creating-a-new-theme.md rename to content/zh-cn/docs/creating-a-new-theme.md index f080dd3..698c774 100644 --- a/content/zh-cn/posts/creating-a-new-theme.md +++ b/content/zh-cn/docs/creating-a-new-theme.md @@ -2,9 +2,6 @@ author: "Michael Henderson" date: 2014-09-28 linktitle: Creating a New Theme -menu: - main: - parent: tutorials next: /tutorials/github-pages-blog prev: /tutorials/automated-deployments title: Creating a New Theme diff --git a/content/zh-cn/posts/migrate-from-jekyll.md b/content/zh-cn/docs/migrate-from-jekyll.md similarity index 99% rename from content/zh-cn/posts/migrate-from-jekyll.md rename to content/zh-cn/docs/migrate-from-jekyll.md index 75f9558..46cef07 100644 --- a/content/zh-cn/posts/migrate-from-jekyll.md +++ b/content/zh-cn/docs/migrate-from-jekyll.md @@ -1,9 +1,9 @@ --- date: 2014-03-10 linktitle: Migrating from Jekyll -menu: - main: - parent: tutorials +#menu: +# main: +# parent: tutorials prev: /tutorials/mathjax title: Migrate to Hugo from Jekyll weight: 10 diff --git a/content/zh-cn/posts/goisforlovers.md b/content/zh-cn/posts/goisforlovers.md index 38ec64f..57a6090 100644 --- a/content/zh-cn/posts/goisforlovers.md +++ b/content/zh-cn/posts/goisforlovers.md @@ -18,8 +18,8 @@ keywords = [ "static", "generator", ] -[menu.main] -parent = "tutorials" +#[menu.main] +#parent = "tutorials" +++ Hugo uses the excellent [go][] [html/template][gohtmltemplate] library for diff --git a/content/zh-cn/posts/hugoisforlovers.md b/content/zh-cn/posts/hugoisforlovers.md index 6ecc6f4..bd6bbe3 100644 --- a/content/zh-cn/posts/hugoisforlovers.md +++ b/content/zh-cn/posts/hugoisforlovers.md @@ -17,8 +17,8 @@ keywords = [ "static", "generator", ] -[menu.main] -parent = "tutorials" +#[menu.main] +#parent = "tutorials" +++ ## Step 1. Install Hugo diff --git a/content/zh-cn/posts/new-post.md b/content/zh-cn/posts/new-post.md index c7851b2..2288ffc 100644 --- a/content/zh-cn/posts/new-post.md +++ b/content/zh-cn/posts/new-post.md @@ -5,4 +5,3 @@ draft: false --- hi, post it. - diff --git a/static/css/custom.css b/static/css/custom.css index 506889e..912c4a8 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -1,3 +1,4 @@ .banner { max-height: 200px; + margin-bottom: 30px; }