Skip to content

Commit

Permalink
support zh toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
cocomeow committed Oct 29, 2021
1 parent 04068cd commit 26b4cca
Show file tree
Hide file tree
Showing 44 changed files with 141 additions and 698 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
public
67 changes: 16 additions & 51 deletions config.toml
Original file line number Diff line number Diff line change
@@ -1,24 +1,19 @@
# The URL the site will be built for
base_url = "https://arktoria.github.io"
base_url = "/"
title = "ACross Wiki"
description = "ACross is a GUI client for v2ray core"
theme = "adidoks"

# The default language; used in feeds and search index
# Note: the search index doesn't support Chinese/Japanese/Korean Languages
default_language = "en"

# Whether to automatically compile all Sass files in the sass directory
compile_sass = true

# Whether to generate a feed file for the site
generate_feed = true

# When set to "true", the generated HTML files are minified.
minify_html = false

build_search_index = true

[languages.zh]
build_search_index = false
taxonomies = [
{name = "tags", lang = "zh"},
]

[search]
include_title = true
include_description = true
Expand All @@ -30,55 +25,17 @@ highlight_code = true
[extra]
author = "ACross"
github = "https://github.com/ArkToria/ACross"

# If running on netlify.app site, set to true
is_netlify = true

# Set HTML file language
language_code = "en-US"

# Set theme-color meta tag for Chrome browser
theme_color = "#fff"

# More about site's title
title_separator = "|" # set as |, -, _, etc
title_addition = "ACross Wiki"

# Set date format in blog publish metadata
timeformat = "%B %e, %Y" # e.g. June 14, 2021
timezone = "America/New_York"

# Edit page on reposity or not
edit_page = true
docs_repo = "https://github.com/ArkToria/arktoria.github.io"
repo_branch = "main"

## Math settings
# options: true, false. Enable math support globally,
# default: false. You can always enable math on a per page.
math = true
library = "katex" # options: "katex", "mathjax". default is "katex".

## Open Graph + Twitter Cards
[extra.open]
enable = true
# this image will be used as fallback if a page has no image of its own
image = "images/logo_pure.svg"
twitter_site = ""
twitter_creator = ""
facebook_author = ""
facebook_publisher = ""
og_locale = "en_US"

## JSON-LD
[extra.schema]
type = "Organization"
logo = "images/lines.svg"
github = "https://github.com/ArkToria"
section = "blog" # see config.extra.main~url
## Sitelinks Search Box
site_links_search_box = true

logo = "images/logo_pure.svg"

# Menu items
[[extra.menu.main]]
Expand Down Expand Up @@ -113,3 +70,11 @@ weight = 10
name = "Code of Conduct"
url = "/docs/contributing/code-of-conduct/"
weight = 20

[languages.en.translations]

[languages.zh.translations]
title = "ACross 文档"
index_page = "主页"
en = "English"
zh = "简体中文"
12 changes: 12 additions & 0 deletions content/_index.zh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
+++
title = "ACross 文档 & 百科"

# The homepage contents
[extra]
lead = '<b>ACross</b> 是一个基于 Qt6 和 QML,简单而现代的 v2ray 客户端。'
url = "/docs/getting-started/introduction/"
url_button = "Get started"
repo_version = "GitHub v0.1.0"
repo_license = "GPL-3.0 License"
repo_url = "https://github.com/ArkToria/ACross"
+++
2 changes: 0 additions & 2 deletions public/_headers

This file was deleted.

Binary file removed public/android-chrome-192x192.png
Binary file not shown.
Binary file removed public/android-chrome-512x512.png
Binary file not shown.
Binary file removed public/apple-touch-icon.png
Binary file not shown.
6 changes: 0 additions & 6 deletions public/bootstrap/scss/bootstrap-grid.css

This file was deleted.

7 changes: 0 additions & 7 deletions public/bootstrap/scss/bootstrap-reboot.css

This file was deleted.

6 changes: 0 additions & 6 deletions public/bootstrap/scss/bootstrap-utilities.css

This file was deleted.

6 changes: 0 additions & 6 deletions public/bootstrap/scss/bootstrap.css

This file was deleted.

Binary file removed public/doks.png
Binary file not shown.
1 change: 0 additions & 1 deletion public/doks.svg

This file was deleted.

10 changes: 0 additions & 10 deletions public/elasticlunr.min.js

This file was deleted.

Binary file removed public/favicon-16x16.png
Binary file not shown.
Binary file removed public/favicon-32x32.png
Binary file not shown.
Binary file removed public/favicon.ico
Binary file not shown.
Binary file removed public/fonts/vendor/jost/jost-v4-latin-500.woff
Binary file not shown.
Binary file removed public/fonts/vendor/jost/jost-v4-latin-500.woff2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed public/fonts/vendor/jost/jost-v4-latin-700.woff
Binary file not shown.
Binary file removed public/fonts/vendor/jost/jost-v4-latin-700.woff2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed public/fonts/vendor/jost/jost-v4-latin-italic.woff
Binary file not shown.
Binary file removed public/fonts/vendor/jost/jost-v4-latin-italic.woff2
Binary file not shown.
Binary file removed public/fonts/vendor/jost/jost-v4-latin-regular.woff
Binary file not shown.
Binary file removed public/fonts/vendor/jost/jost-v4-latin-regular.woff2
Binary file not shown.
Binary file removed public/images/lines.png
Binary file not shown.
110 changes: 0 additions & 110 deletions public/images/lines.svg

This file was deleted.

Binary file removed public/images/logo_pure.png
Binary file not shown.
9 changes: 0 additions & 9 deletions public/images/logo_pure.svg

This file was deleted.

Loading

0 comments on commit 26b4cca

Please sign in to comment.