Setup Basic Website-Layout and Target
This commit is contained in:
parent
26b32a3b2b
commit
2dd3badefd
18 changed files with 570 additions and 1 deletions
13
.gitignore
vendored
Normal file
13
.gitignore
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
# Generated files by hugo
|
||||
/public/
|
||||
/resources/_gen/
|
||||
/assets/jsconfig.json
|
||||
hugo_stats.json
|
||||
|
||||
# Executable may be added to repository
|
||||
hugo.exe
|
||||
hugo.darwin
|
||||
hugo.linux
|
||||
|
||||
# Temporary lock file while building
|
||||
/.hugo_build.lock
|
6
archetypes/default.md
Normal file
6
archetypes/default.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: "{{ replace .Name "-" " " | title }}"
|
||||
date: {{ .Date }}
|
||||
draft: true
|
||||
---
|
||||
|
451
config.yaml
Normal file
451
config.yaml
Normal file
|
@ -0,0 +1,451 @@
|
|||
baseURL: https://hugo-theme-luna.imiku.me/
|
||||
languageCode: de
|
||||
defaultContentLanguage: de
|
||||
title: "Hugo Theme Luna"
|
||||
enableRobotsTXT: true
|
||||
enableEmoji: true
|
||||
theme: hugo-theme-luna
|
||||
timeout: 60000
|
||||
timeZone: Asia/Shanghai
|
||||
|
||||
# 可根据 Git 中的提交生成最近更新记录。
|
||||
# use git commit log to generate lastmod record
|
||||
enableGitInfo: false
|
||||
|
||||
# 如果你的博客包含中日韩语,请启用此选项
|
||||
# enable CJK language support
|
||||
hasCJKLanguage: true
|
||||
|
||||
# 每页显示文章数量
|
||||
# pagination size
|
||||
paginate: 10
|
||||
|
||||
# 启用谷歌统计
|
||||
# google analytics tracking code
|
||||
# googleAnalytics: UA-98634098-1
|
||||
|
||||
# 版权信息,默认为 author.name ↓
|
||||
# default: author.name ↓
|
||||
# copyright: ""
|
||||
|
||||
permalinks:
|
||||
# 文章链接的格式
|
||||
# Format of posts links
|
||||
posts: /:year/:month/:day/:slug.html # 2019/01/01/hello-world.html
|
||||
pages: /:slug.html # about.html
|
||||
|
||||
author:
|
||||
name: kB01
|
||||
|
||||
frontmatter:
|
||||
lastmod:
|
||||
- :git
|
||||
- lastmod
|
||||
- :fileModTime
|
||||
- date
|
||||
- publishDate
|
||||
- :default
|
||||
|
||||
taxonomies:
|
||||
tag: "tags"
|
||||
category: "categories"
|
||||
|
||||
summaryLength: 70
|
||||
canonifyURLs: false
|
||||
relativeURLs: false
|
||||
|
||||
# 图像处理
|
||||
# see https://gohugo.io/content-management/image-processing/#imaging-configuration
|
||||
imaging:
|
||||
resampleFilter: CatmullRom
|
||||
quality: 95
|
||||
anchor: smart
|
||||
|
||||
caches:
|
||||
getresource:
|
||||
dir: :resourceDir/_gen
|
||||
maxAge: 24h
|
||||
|
||||
# 隐私政策,请查看 https://gohugo.io/about/hugo-and-gdpr/
|
||||
# See https://gohugo.io/about/hugo-and-gdpr/
|
||||
privacy:
|
||||
googleAnalytics:
|
||||
anonymizeIP: true
|
||||
youtube:
|
||||
privacyEnhanced: true
|
||||
|
||||
sitemap:
|
||||
changefreq: weekly
|
||||
priority: 0.5
|
||||
filename: sitemap.xml
|
||||
|
||||
# 所有支持的页面
|
||||
# all supported pages
|
||||
$manuMain:
|
||||
- &mainMenuHome
|
||||
name: Home
|
||||
weight: 10
|
||||
identifier: home
|
||||
params:
|
||||
icon: eva eva-home
|
||||
url: /
|
||||
- &mainMenuAbout
|
||||
name: About
|
||||
weight: 20
|
||||
identifier: about
|
||||
params:
|
||||
icon: eva eva-heart
|
||||
url: /about/
|
||||
- &mainMenuLinks
|
||||
name: Links
|
||||
weight: 30
|
||||
identifier: links
|
||||
params:
|
||||
icon: eva eva-people
|
||||
url: /links/
|
||||
- &mainMenuArchives
|
||||
name: Archives
|
||||
weight: 40
|
||||
identifier: archives
|
||||
params:
|
||||
icon: eva eva-bar-chart
|
||||
url: /archives/
|
||||
- &mainMenuTags
|
||||
name: Tags
|
||||
weight: 50
|
||||
identifier: tags
|
||||
params:
|
||||
icon: eva eva-hash
|
||||
url: /tags/
|
||||
- &mainMenuCategories
|
||||
name: Categories
|
||||
weight: 60
|
||||
identifier: categories
|
||||
params:
|
||||
icon: eva eva-folder
|
||||
url: /categories/
|
||||
- &mainMenuTwitter
|
||||
name: Twitter
|
||||
weight: 70
|
||||
identifier: twitter
|
||||
params:
|
||||
icon: eva eva-twitter
|
||||
url: /twitter/
|
||||
- &mainMenuGitHub
|
||||
name: GitHub
|
||||
weight: 80
|
||||
identifier: github
|
||||
params:
|
||||
icon: eva eva-github
|
||||
url: /github/
|
||||
- &mainMenuSearch
|
||||
name: Search
|
||||
weight: 999
|
||||
identifier: search
|
||||
params:
|
||||
icon: eva eva-search
|
||||
url: /search/
|
||||
|
||||
# 如果你不想要导航栏,你可以删除这一段
|
||||
# If you don't want the navbar, you can delete this paragraph
|
||||
menu:
|
||||
main:
|
||||
- *mainMenuHome
|
||||
- *mainMenuAbout
|
||||
- *mainMenuLinks
|
||||
- *mainMenuArchives
|
||||
- *mainMenuTwitter
|
||||
- *mainMenuGitHub
|
||||
- *mainMenuSearch
|
||||
# 副导航 / sub-navigation
|
||||
# sub:
|
||||
# - name: Categories
|
||||
# weight: 20
|
||||
# identifier: categories
|
||||
# params:
|
||||
# icon: eva eva-folder
|
||||
# url: /categories/
|
||||
# - name: Tags
|
||||
# weight: 30
|
||||
# identifier: tags
|
||||
# params:
|
||||
# icon: eva eva-pricetags
|
||||
# url: /tags/
|
||||
|
||||
markup:
|
||||
highlight:
|
||||
style: dracula
|
||||
guessSyntax: true
|
||||
tabWidth: 4
|
||||
lineNumbersInTable: true
|
||||
lineNos: true
|
||||
codeFences: true
|
||||
goldmark:
|
||||
renderer:
|
||||
unsafe: true # enable html in markdown
|
||||
|
||||
# .Site.Params
|
||||
params:
|
||||
# CDN 地址
|
||||
# CDN URL
|
||||
publicCDN: ""
|
||||
|
||||
# 在网站顶部显示标题和摘要,使用 .Site.Title 和 .Site.Params.Description
|
||||
# Display title and description at the top of the page, use .Site.Title and .Site.Params.Description
|
||||
topTitle: false
|
||||
|
||||
# 在首页顶部创建一个通知部分
|
||||
# Create a Announcement section at the top of the home page
|
||||
announcement:
|
||||
enabled: true
|
||||
file: "README.md" # assets/README.md
|
||||
|
||||
# 评论系统
|
||||
# Comment system
|
||||
comments:
|
||||
enabled: false
|
||||
provider: "giscus" # custom | giscus
|
||||
giscus: &giscus
|
||||
repo: "Ice-Hazymoon/hugo-theme-luna"
|
||||
repoID: "R_kgDOHQOwYw"
|
||||
category: "Comments"
|
||||
categoryID: "DIC_kwDOHQOwY84CP0Sy"
|
||||
mapping: "title"
|
||||
reactionsEnabled: 1
|
||||
emitMetadata: 0
|
||||
lazy: false
|
||||
lang: "en"
|
||||
|
||||
# Rss 配置
|
||||
# RSS configuration
|
||||
rss:
|
||||
# 如果为 false,你必须设置 Output Formats,请查看:https://gohugo.io/templates/output-formats#customizing-output-formats
|
||||
# If false, you must set Output Formats, see: https://gohugo.io/templates/output-formats#customizing-output-formats
|
||||
enabled: true
|
||||
# 是否输出全文
|
||||
# Output full text
|
||||
fullText: true
|
||||
|
||||
# 如果为 false,你必须设置 Output Formats,请查看:https://gohugo.io/templates/output-formats#customizing-output-formats
|
||||
# If false, you must set Output Formats, see: https://gohugo.io/templates/output-formats#customizing-output-formats
|
||||
sitemap: true
|
||||
|
||||
# 网站主题颜色
|
||||
# Site theme colors
|
||||
themeColor: "#044725"
|
||||
|
||||
# 设置网站为黑白模式,通常用于哀悼活动
|
||||
# Set website to black and white, usually for mourning events
|
||||
blackAndWhite: false
|
||||
|
||||
# 输出一个漂亮的控制台日志
|
||||
# Output a nice console log
|
||||
console:
|
||||
enabled: true
|
||||
leftColor: "#dd6065"
|
||||
leftText: "Hugo Theme Luna"
|
||||
rightColor: "#feb462"
|
||||
rightText: "Powered by Hugo ❤ Luna"
|
||||
|
||||
# 标题计数器
|
||||
# Title counter
|
||||
headlineCounter: false
|
||||
|
||||
# 固定导航栏
|
||||
# Fixed navigation bar
|
||||
fixedNav: false
|
||||
|
||||
# 网站字体
|
||||
# Site font
|
||||
# font: '"Times New Roman", Times, "Heti Song", serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"'
|
||||
font: 'Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif'
|
||||
|
||||
# 自定义脚本
|
||||
# ts/custom.ts
|
||||
customScript:
|
||||
enabled: false
|
||||
pjax: true # Auto-reload in pjax mode
|
||||
|
||||
# 网站底部显示运行时间
|
||||
# Show site runtime
|
||||
runTime:
|
||||
enabled: true
|
||||
# 网站创建时间
|
||||
# Site creation time
|
||||
creatTime: 2016/12/12
|
||||
|
||||
# 网站创建年份
|
||||
# Site creation year
|
||||
since: "2016"
|
||||
|
||||
# 显示文章过时提醒
|
||||
# show warning when outdated info detected
|
||||
outdatedInfoWarning:
|
||||
enabled: true
|
||||
# 超过该天数将显示过时提醒
|
||||
# A timeout reminder will be displayed if the last modification time exceeds that number of days
|
||||
day: 90
|
||||
|
||||
# 自动切换夜间模式(使用设备设置)
|
||||
# Automatic switching of night mode (using device settings)
|
||||
autoDarkMode: false
|
||||
|
||||
# 文章分享功能
|
||||
share:
|
||||
twitter: true
|
||||
facebook: true
|
||||
weibo: true
|
||||
copyLinkText: true
|
||||
qrcode: true
|
||||
|
||||
qrcodeAPI: "https://api.qrserver.com/v1/create-qr-code/?size=150x150&data="
|
||||
|
||||
# 文章许可设置
|
||||
# license
|
||||
license:
|
||||
enabled: true
|
||||
name: "CC BY-NC-ND 4.0"
|
||||
icon: "Cc-by-nc-nd.svg" # in assets folder
|
||||
url: "https://creativecommons.org/licenses/by-nc-nd/4.0"
|
||||
|
||||
# 显示右上角 i18n 切换按钮
|
||||
# Display i18n toggle button
|
||||
i18nlist: true
|
||||
|
||||
# GitHub 页面设置
|
||||
# github page
|
||||
github:
|
||||
id: "kb01guy" # github user id
|
||||
minStars: 0 # 最小 star 项目 / min stars
|
||||
|
||||
# Twitter 页面设置
|
||||
# tweet page
|
||||
twitter:
|
||||
enabled: true
|
||||
rsshub: "https://rsshub.rssforever.com" # rsshub url, see https://github.com/DIYgod/RSSHub
|
||||
id: "GenshinImpact" # Twitter ID
|
||||
# 如果为 true,Hugo 将下载图片和视频并进行优化,如果你在中国大陆地区,请谨慎启用这个选项
|
||||
# If enabled, Hugo will download videos and images from the Tweet and optimize them
|
||||
imageProcessing: true
|
||||
|
||||
# 开启图片放大功能
|
||||
# Image Zoom Plugin
|
||||
# see https://github.com/francoischalifour/medium-zoom
|
||||
imageZoom: true
|
||||
|
||||
# 图片懒加载
|
||||
# lazyload image
|
||||
lazyload: true
|
||||
|
||||
# 更快速的阅读英文内容, 参考:https://bionic-reading.com/
|
||||
# Read English content faster, see https://bionic-reading.com/
|
||||
bionicReading:
|
||||
enabled: true
|
||||
autoBionic: false # 自动启用 Bionic Reading / auto enable Bionic Reading
|
||||
skipLinks: false # 跳过链接 / skip links
|
||||
excludeWords: [] # 忽略的单词 / ignored words
|
||||
excludeNodeNames: [] # 忽略的节点名称 / ignored node names
|
||||
excludeClasses: ['github'] # 忽略的类名 / ignored classes
|
||||
|
||||
# 启用谷歌翻译插件
|
||||
# enable google translate in footer
|
||||
googleTranslate: false
|
||||
|
||||
# 优化中文排版,请参考:https://github.com/vinta/pangu.js
|
||||
# Optimize Chinese typography, see: https://github.com/vinta/pangu.js
|
||||
pangu: false
|
||||
|
||||
# 开启本地搜索插件
|
||||
# enable local search plugin
|
||||
search: true
|
||||
|
||||
# 文章页显示最后修改时间
|
||||
# For outdated reminders
|
||||
lastmod: true
|
||||
|
||||
# 显示阅读时间
|
||||
# show reading time
|
||||
readingTime: true
|
||||
|
||||
# 显示文章字数
|
||||
# show word count
|
||||
wordCount: false
|
||||
|
||||
# 开启文章内目录,可以在页面内单独设置
|
||||
# Show table of contents, You can enable it separately in the page
|
||||
toc:
|
||||
enabled: true
|
||||
# 超过这个字数后将显示目录
|
||||
# When the article word count is greater than this value, the TOC will be displayed
|
||||
wordCount: 400
|
||||
|
||||
# 加密功能
|
||||
# encryption articles
|
||||
HugoEncrypt:
|
||||
# 默认密码
|
||||
# default password
|
||||
Password: "123456"
|
||||
# 密码缓存选项 "session" or "local"
|
||||
# or "local"
|
||||
Storage: "session"
|
||||
|
||||
# 开启 Pjax 无刷新加载
|
||||
# Enable pjax with swup.js
|
||||
pjax: true
|
||||
|
||||
# 开启 PWA
|
||||
# use service worker
|
||||
pwa: true
|
||||
|
||||
# 开启数学公式
|
||||
# katex
|
||||
katex: true
|
||||
|
||||
# 开启返回顶部按钮
|
||||
# backtop button
|
||||
backtop: true
|
||||
|
||||
# 文章封面图片纵横比
|
||||
# article image aspect ratio
|
||||
featuredImageHeight: "42%" #42% | false
|
||||
|
||||
# 默认文章封面图片,不会显示在内容页面
|
||||
# Default post card featured image, not displayed on content pages
|
||||
defaultFeaturedImage: false # false | featured.png in assets folder | https://unsplash.it/1920/1080/?random={{timestamp}}
|
||||
|
||||
# 自动调整图片大小并兼容 Webp 格式
|
||||
# Optimize your images and SEO
|
||||
imageProcessing:
|
||||
cover: true
|
||||
content: true
|
||||
autoResize:
|
||||
- 1080
|
||||
- 1440
|
||||
webp: true
|
||||
|
||||
# 设置推特卡片样式
|
||||
opengraph:
|
||||
twitter: # see https://developer.twitter.com/en/docs/twitter-for-websites/cards/guides/getting-started
|
||||
cardType: summary_large_image # summary | summary_large_image
|
||||
site: "@Ice_Hazymoon"
|
||||
image: "featured.png" # in assets folder | false
|
||||
|
||||
author: Ice-Hazymoon
|
||||
keywords:
|
||||
- Hugo
|
||||
- Hugo Theme
|
||||
- Luna
|
||||
description: "A simple, performance-first, SEO-friendly Hugo theme"
|
||||
|
||||
build:
|
||||
noJSConfigInAssets: true
|
||||
|
||||
languages:
|
||||
de:
|
||||
languageName: Deutsch
|
||||
params:
|
||||
languageIcon: "images/i18n/en-us.svg" # in assets folder
|
||||
en-us:
|
||||
languageName: English
|
||||
params:
|
||||
languageIcon: "images/i18n/en-us.svg" # in assets folder
|
17
content/about.en-us.md
Normal file
17
content/about.en-us.md
Normal file
|
@ -0,0 +1,17 @@
|
|||
---
|
||||
title: "About"
|
||||
date: 2022-12-12T06:31:45+00:00
|
||||
layout: "page"
|
||||
type: page
|
||||
comments: false
|
||||
---
|
||||
|
||||
# About me
|
||||
|
||||
Hi, I would describe myself as Multitalent, because I can do a bit of everything and learn new things as soon as I need them.
|
||||
|
||||
## My skills
|
||||
{{< progress 95 theme ".NET development with C#" >}}
|
||||
{{< progress 70 theme "Microsoft SQL development" >}}
|
||||
{{< progress 25 theme "Webdevelopment in Angular and Typescript" >}}
|
||||
{{< progress 5 theme "Webdevelopment with Hugo" >}}
|
18
content/about.md
Normal file
18
content/about.md
Normal file
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
title: "Über"
|
||||
date: 2022-12-12T06:31:45+00:00
|
||||
layout: "page"
|
||||
type: page
|
||||
comments: false
|
||||
---
|
||||
|
||||
# Über mich
|
||||
|
||||
Hi, ich würde mich als Multitalent beschreiben, da ich irgendwie alles ein bisschen kann und Neues was mich interressiert einfach lerne.
|
||||
|
||||
## Meine Skills
|
||||
{{< progress 95 theme ".NET entwicklung mit C#" >}}
|
||||
{{< progress 70 theme "Microsoft SQL entwicklung" >}}
|
||||
{{< progress 25 theme "Webentwicklung mit Angular und Typescript" >}}
|
||||
{{< progress 5 theme "Webentwickung mit Hugo" >}}
|
||||
|
5
content/archive.en-us.md
Normal file
5
content/archive.en-us.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: "Archive"
|
||||
layout: "archives"
|
||||
date: 2022-12-12T06:31:45+00:00
|
||||
---
|
5
content/archive.md
Normal file
5
content/archive.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: "Archiv"
|
||||
layout: "archives"
|
||||
date: 2022-12-12T06:31:45+00:00
|
||||
---
|
5
content/github.en-us.md
Normal file
5
content/github.en-us.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: "GitHub"
|
||||
date: 2022-12-12T06:31:45+00:00
|
||||
layout: "github"
|
||||
---
|
5
content/github.md
Normal file
5
content/github.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: "GitHub"
|
||||
date: 2022-12-12T06:31:45+00:00
|
||||
layout: "github"
|
||||
---
|
BIN
content/links/github.png
Normal file
BIN
content/links/github.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.9 KiB |
10
content/links/index.en-us.md
Normal file
10
content/links/index.en-us.md
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
title: "Links"
|
||||
date: 2022-12-13T21:24:00+08:00
|
||||
layout: "links"
|
||||
---
|
||||
|
||||
#### WebSite
|
||||
|
||||
{{< link url="https://github.com/kb01guy" image="github.png" title="GitHub" desc="My Github Account" >}}
|
||||
{{< link url="https://www.youtube.com/@kb01guy74" image="youtube.png" title="YouTube" desc="My YouTube Channel" >}}
|
10
content/links/index.md
Normal file
10
content/links/index.md
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
title: "Links"
|
||||
date: 2022-12-13T21:24:00+08:00
|
||||
layout: "links"
|
||||
---
|
||||
|
||||
#### WebSite
|
||||
|
||||
{{< link url="https://github.com/kb01guy" image="github.png" title="GitHub" desc="Mein Github Account" >}}
|
||||
{{< link url="https://www.youtube.com/@kb01guy74" image="youtube.png" title="YouTube" desc="Mein YouTube Kanal" >}}
|
BIN
content/links/youtube.png
Normal file
BIN
content/links/youtube.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
7
content/search.en-us.md
Normal file
7
content/search.en-us.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
title: "Search"
|
||||
layout: "search"
|
||||
outputs:
|
||||
- html
|
||||
- json
|
||||
---
|
7
content/search.md
Normal file
7
content/search.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
title: "Search"
|
||||
layout: "search"
|
||||
outputs:
|
||||
- html
|
||||
- json
|
||||
---
|
5
content/twitter.en-us.md
Normal file
5
content/twitter.en-us.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: "Twitter"
|
||||
date: 2022-12-12T06:31:45+00:00
|
||||
layout: "twitter"
|
||||
---
|
5
content/twitter.md
Normal file
5
content/twitter.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: "Twitter"
|
||||
date: 2022-12-12T06:31:45+00:00
|
||||
layout: "twitter"
|
||||
---
|
|
@ -1 +1 @@
|
|||
Subproject commit e03f03a672492da2997a38fca8db93f9e4254a45
|
||||
Subproject commit 3cb31ac69164781aba0beb15db3570334445154c
|
Loading…
Add table
Reference in a new issue