Skip to content

Commit

Permalink
docs: add index.d
Browse files Browse the repository at this point in the history
  • Loading branch information
xunpod committed Sep 24, 2024
1 parent 9698ef7 commit ba540ab
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 3 deletions.
6 changes: 6 additions & 0 deletions content/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title:
toc: false
---

AOSC 用户手册!
68 changes: 65 additions & 3 deletions hugo.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,65 @@
baseURL: https://example.org/
languageCode: en-us
title: My New Hugo Site
languageCode: zh-cn
enableInlineShortcodes: true
defaultContentLanguage: zh-cn
# Hugo configuration file
baseURL: https://users-guide.aosc.io/
title: "AOSC OS 用户手册"
enableGitInfo: true

outputs:
home: [ HTML ]
page: [ HTML ]
section: [ HTML, RSS ]
# import hextra as module
module:
imports:
- path: github.com/imfing/hextra

markup:
# allow raw html
goldmark:
renderer:
unsafe: true

# enable hextra syntax highlight
highlight:
noClasses: false

menu:
main:
- name: 联系我们
url: https://aosc.io/zh-cn/contact/
weight: 3
- name: 社区主页
url: https://aosc.io/zh-cn/
weight: 4
- name: Search
weight: 5
params:
type: search
params:
displayUpdatedDate: true
dateFormat: "January 2, 2006"
page:
# full (100%), wide (90rem), normal (1280px)
width: wide
footer:
enable: true
displayCopyright: true
displayPoweredBy: true
width: normal
# Search
search:
enable: true
type: flexsearch
flexsearch:
# index page by: content | summary | heading | title
index: title
theme:
# light | dark | system
default: system
displayToggle: true
editURL:
enable: true
base: "https://github.com/AOSC-Dev/liblol-website/edit/master/content"
description: AOSC 为您在新旧世界之间架起桥梁!

0 comments on commit ba540ab

Please sign in to comment.