Verified Commit 57f15a6a authored by Joe Donofry's avatar Joe Donofry
Browse files

Initial nheko blog based on hugo

parents
Pipeline #142 canceled with stage
image: monachus/hugo
variables:
GIT_SUBMODULE_STRATEGY: recursive
pages:
script:
- hugo
artifacts:
paths:
- public
only:
- master
\ No newline at end of file
[submodule "themes/fuji"]
path = themes/fuji
url = https://github.com/amzrk2/hugo-theme-fuji.git
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---
baseURL = "https://blog.nheko.im"
title = "Nheko Blog"
theme = "fuji"
hasCJKLanguage = true
enableEmoji = true
enableRobotsTXT = true
disableKinds = ["taxonomy"]
ignoreErrors = ["error-disable-taxonomy"]
## Change this two to switch between different language
languageCode = "en" # For RSS, view https://www.rssboard.org/rss-language-codes
defaultContentLanguage = "en" # For HTML page, now support: en, zh-hans, zh-hant, ja, nl
summaryLength = 100 # Custom summary length, add <!--more--> in post file to custom split point
paginate = 10
# googleAnalytics = "UA-000000000-0" # Set your Google Analytics UA here
[outputFormats]
[outputFormats.SearchIndex]
isPlainText = true
notAlternative = true
mediaType = "application/json"
path = "/search/"
[outputs]
home = ["HTML", "RSS", "SearchIndex"]
[permalinks]
post = "/:section/:filename/" # Custom post links, e.g. "/:year/:month/:title/"
[params]
# author = "DSRKafuU" # You can also set author in post front matter individually
# subTitle = "A minimal Hugo theme."
# Use CloudFlare Workers to accelerate the Google Analytics
# If you are using this please comment the googleAnalytics above
# Check https://github.com/SukkaW/cloudflare-workers-async-google-analytics for more details
# googleAnalyticsTid = "UA-000000000-0"
# googleAnalyticsRoute = "https://*.*.workers.dev/"
# Google AdSense
# The AdSense code will be inserted between the head tags of your site.
# googleAdsense = "0000000000000000"
# Word counter and read time indicator in post metadata
showWordCounter = true
showReadTime = false
# License at the end of each post
showLicense = true
showToc = true
# Open Graph & Twitter Card variables
# You can also set description and images in post front matter individually
description = "A minimal Hugo theme with nice theme color."
images = ["img/og.png"] # This will use the image called og.png in static/img folder
# Posts shown in homepage
mainSections = ["post"]
# Bangumi image chart id
# bgmImageChart = "000000"
# License
license = "CC BY-NC-SA 4.0"
licenseLink = "http://creativecommons.org/licenses/by-nc-sa/4.0/"
# Comments
# utterances, see: https://utteranc.es/
# utterancesRepo = "*/*"
# utterancesIssueTerm = "pathname"
# Disqus, see: https://disqus.com/admin/install/platforms/universalcode/
# disqusShortname = "*********"
# Also use DisqusJS for accessing from Mainland China, see: https://github.com/SukkaW/DisqusJS
# If you want to set multiple api key, see theme's README for more details
# disqusJSApi = "https://*********/"
# disqusJSApikey = "**********"
# custom lazyload placeholder
# 16:9
lazyPlaceholder = "/assets/lazyload/dsrca_loading_480x270.svg"
# 32:9
lazyPlaceholderRow = "/assets/lazyload/dsrca_loading_960x270.svg"
# 8:9
lazyPlaceholderCol = "/assets/lazyload/dsrca_loading_480x540.svg"
# Let images display in full brightness under dark mode
# disableDarkImage = true
[markup]
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true # Enable user to embed HTML snippets in Markdown content
[markup.highlight]
codeFences = false # Disable Hugo's code highlighter
[markup.tableOfContents]
startLevel = 2
endLevel = 3
[taxonomies]
tag = "tags"
[menu]
[[menu.nav]]
name = "Home"
url = "/"
weight = 1
[[menu.nav]]
name = "Archives"
url = "/archives/"
weight = 2
[[menu.nav]]
name = "About"
url = "/about/"
weight = 3
[[menu.nav]]
name = "Search"
url = "/search/"
weight = 4
[[menu.nav]]
name = "RSS"
url = "/index.xml"
weight = 5
[[menu.link]]
name = "GitHub"
url = "https://github.com/Nheko-Reborn/nheko"
weight = 1
[[menu.link]]
name = "GitLab"
url = "https://nheko.im/Nheko-Reborn/nheko"
weight = 2
[[menu.link]]
name = "Join us on Matrix"
url = "https://matrix.to/#/#nheko:matrix.org"
weight = 3
\ No newline at end of file
---
title: "Sample Post"
date: 2020-10-16T14:43:15-04:00
draft: true
---
## Testing, 1 2 3
\ No newline at end of file
{"Target":"assets/css/fuji.min.css","MediaType":"text/css","Data":{}}
\ No newline at end of file
Subproject commit 5b7e4d63d7012f84201adf2e45501208fe95b972
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment