Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
yetist committed Jan 9, 2021
1 parent 8c5014c commit 82feda2
Show file tree
Hide file tree
Showing 11 changed files with 40 additions and 31 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
public
20 changes: 12 additions & 8 deletions config/_default/menu.en.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
[[main]]
name = "News"
url = "https://example.org"
identifier = "news"
pre = '<i class="fa fa-fw fa-newspaper"></i>'
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 = '<i class="fa fa-fw fa-user"></i>'

[[main]]
parent = "dropdown"
parent = "about"
name = "Github"
url = "https://github.com/razonyang/hugo-theme-bootstrap"
url = "https://github.com/loongarch64/"
pre = '<i class="fab fa-fw fa-github"></i>'
20 changes: 12 additions & 8 deletions config/_default/menu.zh-cn.toml
Original file line number Diff line number Diff line change
@@ -1,19 +1,23 @@
[[main]]
name = "新闻"
url = "https://example.org"
identifier = "news"
pre = '<i class="fa fa-fw fa-newspaper"></i>'
weight = 2
#url = "https://example.org"

[[main]]
name = "教程"
identifier = "tutorials"
weight = 1
#[[main]]
# name = "教程"
# identifier = "tutorials"
# weight = 1
# pre = '<i class="fa fa-fw fa-book"></i>'

[[main]]
name = "下拉菜单"
identifier = "dropdown"
name = "关于"
identifier = "about"
pre = '<i class="fa fa-fw fa-user"></i>'

[[main]]
parent = "dropdown"
parent = "about"
name = "Github"
url = "https://github.com/loongarch64/"
pre = '<i class="fab fa-fw fa-github"></i>'
9 changes: 6 additions & 3 deletions content/zh-cn/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@
title: "关于"
date: 2021-01-02T12:03:50+08:00
draft: false
menu: "main"
weight: 8
menu:
main:
parent: "about"
pre: '<i class="fa fa-fw fa-user"></i>'
---

# 关于

LoongArch 指令集

解释, Hello, world.
2 changes: 1 addition & 1 deletion content/zh-cn/docs/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
title = "文档"
[menu.main]
weight = 30
pre = '<i class="fas fa-fw fa-columns"></i>'
pre = '<i class="fa fa-fw fa-book"></i>'
url = "docs/"
+++
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions content/zh-cn/posts/goisforlovers.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions content/zh-cn/posts/hugoisforlovers.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ keywords = [
"static",
"generator",
]
[menu.main]
parent = "tutorials"
#[menu.main]
#parent = "tutorials"
+++

## Step 1. Install Hugo
Expand Down
1 change: 0 additions & 1 deletion content/zh-cn/posts/new-post.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ draft: false
---

hi, post it.

1 change: 1 addition & 0 deletions static/css/custom.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.banner {
max-height: 200px;
margin-bottom: 30px;
}

0 comments on commit 82feda2

Please sign in to comment.