Skip to content

Commit

Permalink
update config
Browse files Browse the repository at this point in the history
Signed-off-by: Flipez <code@brauser.io>
  • Loading branch information
Flipez committed Dec 20, 2021
1 parent a453636 commit 6a78b29
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 121 deletions.
104 changes: 0 additions & 104 deletions docs/config.toml

This file was deleted.

23 changes: 6 additions & 17 deletions docs/config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# hugo server --minify --themesDir ... --baseURL=http://0.0.0.0:1313/theme/hugo-book/

baseURL: https://example.com/
title: Hugo Book
baseURL: https://rocket-lang.vercel.app/
title: 🚀🇱🅰🆖
theme: hugo-book

# Book configuration
Expand All @@ -25,24 +25,13 @@ languages:
languageName: English
contentDir: content
weight: 1
ru:
languageName: Russian
contentDir: content.ru
weight: 2
zh:
languageName: Chinese
contentDir: content.zh
weight: 3

menu:
# before: []
after:
- name: "Github"
url: "https://github.com/alex-shpak/hugo-book"
url: "https://github.com/flipez/rocket-lang"
weight: 10
- name: "Hugo Themes"
url: "https://themes.gohugo.io/hugo-book/"
weight: 20

params:
# (Optional, default light) Sets color theme: light, dark or auto.
Expand All @@ -69,7 +58,7 @@ params:

# Set source repository location.
# Used for 'Last Modified' and 'Edit this page' links.
BookRepo: https://github.com/alex-shpak/hugo-book
BookRepo: https://github.com/flipez/rocket-lang

# (Optional, default 'commit') Specifies commit portion of the link to the page's last modified
# commit hash for 'doc' page type.
Expand All @@ -81,7 +70,7 @@ params:
# Enable "Edit this page" links for 'doc' page type.
# Disabled by default. Uncomment to enable. Requires 'BookRepo' param.
# Edit path must point to root directory of repo.
BookEditPath: edit/main/exampleSite
BookEditPath: edit/master/docs

# Configure the date format used on the pages
# - In git information
Expand All @@ -97,7 +86,7 @@ params:
# By default partals/docs/comments.html includes Disqus template
# See https://gohugo.io/content-management/comments/#configure-disqus
# Can be overwritten by same param in page frontmatter
BookComments: true
BookComments: false

# /!\ This is an experimental feature, might be removed or changed at any time
# (Optional, experimental, default false) Enables portable links and link checks in markdown pages.
Expand Down

1 comment on commit 6a78b29

@vercel
Copy link

@vercel vercel bot commented on 6a78b29 Dec 20, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.