edited post
This commit is contained in:
parent
5637f16e4c
commit
16e41217d4
|
@ -116,3 +116,5 @@ markup:
|
||||||
guessSyntax: true
|
guessSyntax: true
|
||||||
# lineNos: true
|
# lineNos: true
|
||||||
style: github
|
style: github
|
||||||
|
|
||||||
|
buildDate: 2023-10-31_16:11:53
|
||||||
|
|
|
@ -0,0 +1,120 @@
|
||||||
|
baseURL: "http://blog.morgan.kr"
|
||||||
|
title: Morgan's Blog
|
||||||
|
paginate: 50
|
||||||
|
theme: "mytheme"
|
||||||
|
|
||||||
|
enableRobotsTXT: true
|
||||||
|
buildDrafts: false
|
||||||
|
buildFuture: false
|
||||||
|
buildExpired: false
|
||||||
|
|
||||||
|
googleAnalytics: UA-123-45
|
||||||
|
minify:
|
||||||
|
disableXML: true
|
||||||
|
minifyOutput: true
|
||||||
|
|
||||||
|
params:
|
||||||
|
env: production # to enable google analytics, opengraph, twitter-cards and schema.
|
||||||
|
title: Morgan's Blog
|
||||||
|
description: "Hi! I'm Morgan!"
|
||||||
|
keywords: [Blog, Portfolio, PaperMod]
|
||||||
|
author: Me
|
||||||
|
images: [""]
|
||||||
|
DateFormat: "Jan 2, 2006"
|
||||||
|
defaultTheme: dark
|
||||||
|
disableThemeToggle: false
|
||||||
|
|
||||||
|
ShowReadingTime: false
|
||||||
|
ShowShareButtons: true
|
||||||
|
ShowPostNavLinks: true
|
||||||
|
ShowBreadCrumbs: false
|
||||||
|
ShowCodeCopyButtons: true
|
||||||
|
ShowWordCount: false
|
||||||
|
ShowRssButtonInSectionTermList: false
|
||||||
|
UseHugoToc: true
|
||||||
|
|
||||||
|
disableSpecial1stPost: false
|
||||||
|
disableScrollToTop: false
|
||||||
|
comments: true
|
||||||
|
hidemeta: false
|
||||||
|
hideSummary: false
|
||||||
|
showtoc: false
|
||||||
|
tocopen: false
|
||||||
|
mainSections:
|
||||||
|
- posts
|
||||||
|
|
||||||
|
homeInfoParams:
|
||||||
|
Title: Hi, I'm Morgan.
|
||||||
|
Content: I am student developer in Korea, studying Embedded system and Cryptography.
|
||||||
|
|
||||||
|
socialIcons: # optional
|
||||||
|
- name: github
|
||||||
|
url: "https://github.com/morgan9e"
|
||||||
|
- name: email
|
||||||
|
url: "mailto:me@morgan.kr"
|
||||||
|
- name: git
|
||||||
|
url: "https://git.morgan.kr"
|
||||||
|
- name: twitter
|
||||||
|
url: "https://twitter.com/morgan8w"
|
||||||
|
- name: telegram
|
||||||
|
url: "https://t.me/morgan9e"
|
||||||
|
|
||||||
|
assets:
|
||||||
|
favicon: "https://blog.morgan.kr/favicon.ico"
|
||||||
|
apple_touch_icon: "https://blog.morgan.kr/favicon.ico"
|
||||||
|
safari_pinned_tab: "https://blog.morgan.kr/favicon.ico"
|
||||||
|
|
||||||
|
label:
|
||||||
|
icon: /favicon.png
|
||||||
|
icon_inv: /favicon-inv.png
|
||||||
|
iconHeight: 24
|
||||||
|
|
||||||
|
analytics:
|
||||||
|
google:
|
||||||
|
SiteVerificationTag: "XYZabc"
|
||||||
|
bing:
|
||||||
|
SiteVerificationTag: "XYZabc"
|
||||||
|
yandex:
|
||||||
|
SiteVerificationTag: "XYZabc"
|
||||||
|
|
||||||
|
cover:
|
||||||
|
hidden: true # hide everywhere but not in structured data
|
||||||
|
hiddenInList: true # hide on list pages and home
|
||||||
|
hiddenInSingle: true # hide on single page
|
||||||
|
|
||||||
|
# for search
|
||||||
|
# https://fusejs.io/api/options.html
|
||||||
|
fuseOpts:
|
||||||
|
isCaseSensitive: false
|
||||||
|
shouldSort: true
|
||||||
|
location: 0
|
||||||
|
distance: 1000
|
||||||
|
threshold: 0.4
|
||||||
|
minMatchCharLength: 0
|
||||||
|
keys: ["title", "permalink", "summary", "content"]
|
||||||
|
|
||||||
|
permalinks:
|
||||||
|
posts: /:year/:month/:title/
|
||||||
|
|
||||||
|
menus:
|
||||||
|
main:
|
||||||
|
- identifier: posts
|
||||||
|
name: Posts
|
||||||
|
url: /posts/
|
||||||
|
weight: 30
|
||||||
|
# - identifier: tags
|
||||||
|
# name: Tags
|
||||||
|
# url: /tags/
|
||||||
|
# weight: 10
|
||||||
|
|
||||||
|
pygmentsUseClasses: true
|
||||||
|
markup:
|
||||||
|
highlight:
|
||||||
|
noClasses: false
|
||||||
|
# anchorLineNos: true
|
||||||
|
codeFences: true
|
||||||
|
guessSyntax: true
|
||||||
|
# lineNos: true
|
||||||
|
style: github
|
||||||
|
|
||||||
|
buildDate: 2023-10-31_16:11:52
|
|
@ -0,0 +1,3 @@
|
||||||
|
sed -i.old "s/buildDate: [0-9]\+-[0-9]\+-[0-9]\+_[0-9]\+:[0-9]\+:[0-9]\+/buildDate: $(date +%Y-%m-%d_%H:%M:%S)/" config.yml
|
||||||
|
|
||||||
|
hugo
|
|
@ -3,7 +3,8 @@
|
||||||
{{- if site.Copyright }}
|
{{- if site.Copyright }}
|
||||||
<span>{{ site.Copyright | markdownify }}</span>
|
<span>{{ site.Copyright | markdownify }}</span>
|
||||||
{{- else }}
|
{{- else }}
|
||||||
<a href="/admin/">©</a> <span>{{ now.Year }} <a href="{{ "" | absLangURL }}">{{ site.Title }}</a></span>
|
<a href="/admin/" style="text-decoration: none;">©</a> <span>{{ now.Year }} <a href="{{ "" | absLangURL }}">{{ site.Title }}</a></span>
|
||||||
|
<span>Build date: {{- if not ( eq site.buildDate 0 ) }}{{ site.buildDate }}{{- end }}</span>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
</footer>
|
</footer>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
Loading…
Reference in New Issue