mirror of
https://github.com/msfjarvis/msfjarvis.dev.git
synced 2024-06-03 04:18:56 +05:30
refactor: move all config to exampleSite
This commit is contained in:
parent
42e5ab2a2c
commit
ec0f3ff3bd
29
config.toml
29
config.toml
|
@ -1,29 +0,0 @@
|
||||||
# OVERRIDE #
|
|
||||||
|
|
||||||
languageCode = "en-us"
|
|
||||||
title = "Codex"
|
|
||||||
baseURL = "https://example.org/"
|
|
||||||
copyright = "© {year}"
|
|
||||||
|
|
||||||
# OVERRIDE #
|
|
||||||
|
|
||||||
# DONT OVERRIDE #
|
|
||||||
|
|
||||||
[[menu.main]]
|
|
||||||
identifier = "about"
|
|
||||||
name = "about"
|
|
||||||
title = "About"
|
|
||||||
url = "/"
|
|
||||||
|
|
||||||
[[menu.main]]
|
|
||||||
identifier = "blog"
|
|
||||||
name = "blog"
|
|
||||||
title = "Blog"
|
|
||||||
url = "/blog"
|
|
||||||
|
|
||||||
preserveTaxonomyNames = true
|
|
||||||
|
|
||||||
[taxonomies]
|
|
||||||
tag = "tags"
|
|
||||||
|
|
||||||
# DONT OVERRIDE #
|
|
|
@ -1,19 +1,44 @@
|
||||||
title = "Codex"
|
# Override these settings with your own
|
||||||
baseURL = "https://example.com"
|
|
||||||
languageCode = "en-us"
|
languageCode = "en-us"
|
||||||
|
baseURL = "https://example.org/"
|
||||||
|
copyright = "© {year}"
|
||||||
|
|
||||||
# This is just to get the exampleSite to work with the theme
|
# The value "hugo-theme-codex" is only to get the exampleSite
|
||||||
# in this repository. Don't mimic this. When using the theme
|
# to work in this repo. Change to whatever name you gave the theme
|
||||||
# you should place it in themes/codex and list theme = "codex"
|
# when you added it. If you followed the README, you should have
|
||||||
theme = "hugo-theme-codex"
|
# added the theme using the name "codex".
|
||||||
themesDir = "../../"
|
theme = "hugo-theme-codex"
|
||||||
|
|
||||||
|
|
||||||
|
# REMOVE THIS!
|
||||||
|
# This is only to get the exampleSite to work in this repo.
|
||||||
|
themesDir = "../../"
|
||||||
|
|
||||||
|
# Optional params
|
||||||
[params]
|
[params]
|
||||||
# This will show the twitter icon which will link to twitter.com/your-twitter-handle
|
# Show Twitter icon linking to twitter.com/your-twitter-handle
|
||||||
# You can omit the @ symbol
|
twitter = "your-twitter-handle" # omit @
|
||||||
twitter = "your-twitter-handle"
|
# Show Github icon linking to github.com/your-github-handle
|
||||||
# This will show the github icon which will link to github.com/your-github-handle
|
github = "your-github-handle" # omit @
|
||||||
# You can omit the @ symbol
|
|
||||||
github = "your-github-handle"
|
# This disables Hugo's default syntax highlighting in favor
|
||||||
|
# of prismjs. If you wish to use Hugo's default syntax highlighting
|
||||||
|
# over prismjs, remove this. You will also need to remove the prismjs
|
||||||
|
# vendor script in layouts/blog/single.html.
|
||||||
|
[markup]
|
||||||
|
[markup.highlight]
|
||||||
|
codeFences = false
|
||||||
|
|
||||||
|
# Controls the navigation
|
||||||
|
[[menu.main]]
|
||||||
|
identifier = "about"
|
||||||
|
name = "about"
|
||||||
|
title = "About"
|
||||||
|
url = "/"
|
||||||
|
[[menu.main]]
|
||||||
|
identifier = "blog"
|
||||||
|
name = "blog"
|
||||||
|
title = "Blog"
|
||||||
|
url = "/blog"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user