Skip to content

Commit 79b6063

Browse files
committed
test draft
fix .gitignore rm cache config toml toc toc tz comment
1 parent 3c3943a commit 79b6063

33 files changed

+111
-1078
lines changed

.github/workflows/hugo.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
env:
5555
HUGO_CACHEDIR: ${{ runner.temp }}/hugo_cache
5656
HUGO_ENVIRONMENT: production
57-
TZ: America/Los_Angeles
57+
TZ: Asia/Shanghai
5858
run: |
5959
hugo \
6060
--gc \

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
public/
2+
resources/

archetypes/default.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
date = '{{ .Date }}'
33
draft = false
44
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
5+
toc = true
56
+++

config.toml

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
title = "K.D.7"
2+
baseURL = "https://gnolong.github.io"
3+
# theme = ["github.com/theNewDynamic/gohugo-theme-ananke/v2"]
4+
theme = 'ananke'
5+
resourceDir = "./resources"
6+
7+
defaultContentLanguage = "en"
8+
sectionPagesMenu = "main"
9+
enableRobotsTXT = true
10+
private = true
11+
[services.googleAnalytics]
12+
id = ''
13+
14+
[pagination]
15+
pagerSize = 5 # this is set low for demonstrating with dummy content. Set to a higher number
16+
17+
# [languages.en]
18+
# contentDir = "content/en"
19+
# languageCode = 'en-US'
20+
# weight = 1
21+
# title = "Ananke"
22+
# languageDirection = 'rtl' for Right-To-Left languages
23+
24+
# [languages.fr]
25+
# contentDir = "content/fr"
26+
# languageCode = 'fr-FR'
27+
# weight = 2
28+
# title = "Ananke Fr"
29+
30+
[sitemap]
31+
changefreq = "monthly"
32+
priority = 0.5
33+
filename = "sitemap.xml"
34+
35+
[services.disqus]
36+
shortname = 'k.d.7'
37+
38+
[params]
39+
text_color = ""
40+
author = ""
41+
favicon = ""
42+
site_logo = ""
43+
description = "The last theme you'll ever need. Maybe."
44+
# choose a background color from any on this page: https://tachyons.io/docs/themes/skins/ and preface it with "bg-"
45+
background_color_class = "bg-black"
46+
# choose fitting and alignment styles for the featured image using Tachyons classes such as "cover|contain" for fitting and "bg-top|bg-center|bg-bottom" for alignment, or add any other class space-separated to customize further
47+
featured_image_class = "cover bg-top"
48+
# choose a color dimming class for the page or site header from any on this page: https://tachyons.io/docs/themes/skins/, preface it with "bg-" and add the value such as "-X0" where X is in [1,9]
49+
cover_dimming_class = "bg-black-60"
50+
51+
recent_posts_number = 5
52+
53+
show_reading_time = true
54+
55+
commentoEnable = true
56+
57+
[params.ananke.social.share]
58+
networks = [
59+
"email",
60+
"facebook",
61+
"bluesky",
62+
"linkedin"
63+
]
64+
65+
[params.ananke.social.follow]
66+
networks = [
67+
"facebook",
68+
"bluesky",
69+
"linkedin",
70+
"wikipedia"
71+
]
72+
73+
[params.ananke.social.facebook]
74+
username = "patrick.kollitsch"
75+
# profilelink = "https://www.facebook.com/patrick.kollitsch"
76+
77+
[params.ananke.social.linkedin]
78+
username = "patrickkollitsch"
79+
80+
[params.ananke.social.bluesky]
81+
username = "kollitsch.dev"
82+
83+
[params.ananke.social.wikipedia]
84+
username = "wikipedia_article"
85+
86+
[params.ananke.social.networks.wikipedia]
87+
slug = "wikipedia"
88+
label = "Wikipedia"
89+
color = "#0645ad"
90+
profile = "https://en.wikipedia.org/wiki/%s"
91+
icon = "wikipedia-w"

content/_index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
+++
2+
date = '2025-02-01T10:38:31+08:00'
3+
draft = false
4+
title = 'For Fun'
5+
+++

content/posts/my-first-post.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

content/tests/_index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
+++
2+
date = '2025-02-01T10:38:31+08:00'
3+
draft = false
4+
title = 'Tests'
5+
+++
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
+++
22
date = '2025-02-01T10:38:31+08:00'
3-
draft = true
3+
draft = false
44
title = 'My First Post'
5+
toc = true
56
+++
7+
68
## Introduction
79

10+
11+
812
This is **bold** text, and this is *emphasized* text.
913

10-
Visit the [Hugo](https://gohugo.io) website!
14+
Visit the [Hugo](https://gohugo.io) website!

hugo.toml

Lines changed: 0 additions & 4 deletions
This file was deleted.

public/404.html

Lines changed: 0 additions & 95 deletions
This file was deleted.

0 commit comments

Comments
 (0)