Initial configuration.
This commit is contained in:
commit
7280a5cc7f
7 changed files with 95 additions and 0 deletions
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
.hugo_build.lock
|
||||
public/
|
||||
resources/
|
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[submodule "themes/hello-friend-ng"]
|
||||
path = themes/hello-friend-ng
|
||||
url = git@github.com:Kaholaz/hugo-theme-hello-friend-ng.git
|
6
archetypes/default.md
Normal file
6
archetypes/default.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: "{{ replace .Name "-" " " | title }}"
|
||||
date: {{ .Date }}
|
||||
draft: true
|
||||
---
|
||||
|
8
content/about.md
Normal file
8
content/about.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
title: "About"
|
||||
date: 2023-12-26T14:12:12+01:00
|
||||
draft: false
|
||||
---
|
||||
|
||||
Hei!
|
||||
|
2
deploy.sh
Executable file
2
deploy.sh
Executable file
|
@ -0,0 +1,2 @@
|
|||
hugo || exit
|
||||
rsync public/ vsbugge@navi.samfundet.no:/var/www/kaholaz.net/ -r --delete -P
|
72
hugo.toml
Normal file
72
hugo.toml
Normal file
|
@ -0,0 +1,72 @@
|
|||
baseurl = "https://kaholaz.net"
|
||||
title = "Min blogg"
|
||||
languageCode = "nb-NO"
|
||||
theme = "hello-friend-ng"
|
||||
paginate = 10
|
||||
|
||||
PygmentsCodeFences = true
|
||||
PygmentsStyle = "monokai"
|
||||
|
||||
archetypeDir = "archetypes"
|
||||
contentDir = "content"
|
||||
dataDir = "data"
|
||||
layoutDir = "layouts"
|
||||
publishDir = "public"
|
||||
|
||||
buildDrafts = false
|
||||
buildFuture = false
|
||||
buildExpired = false
|
||||
canonifyURLs = true
|
||||
|
||||
enableRobotsTXT = true
|
||||
enableGitInfo = false
|
||||
enableEmoji = true
|
||||
enableMissingTranslationPlaceholders = false
|
||||
disableRSS = false
|
||||
disableSitemap = false
|
||||
disable404 = false
|
||||
disableHugoGeneratorInject = false
|
||||
|
||||
[permalinks]
|
||||
posts = "/posts/:year/:month/:title/"
|
||||
|
||||
[params]
|
||||
dateform = "Jan 2, 2006"
|
||||
dateformShort = "Jan 2"
|
||||
dateformNum = "2006-01-02"
|
||||
dateformNumTime = "2006-01-02 15:04"
|
||||
|
||||
# Subtitle for home
|
||||
homeSubtitle = "A simple and beautiful blog"
|
||||
|
||||
# Set disableReadOtherPosts to true in order to hide the links to other posts.
|
||||
disableReadOtherPosts = false
|
||||
|
||||
# Enable sharing buttons, if you like
|
||||
enableSharingButtons = true
|
||||
|
||||
# Show a global language switcher in the navigation bar
|
||||
# enableGlobalLanguageMenu = true
|
||||
|
||||
# Metadata mostly used in document's head
|
||||
description = "My new homepage or blog"
|
||||
keywords = "homepage, blog"
|
||||
images = [""]
|
||||
|
||||
[taxonomies]
|
||||
category = "blog"
|
||||
tag = "tags"
|
||||
series = "series"
|
||||
|
||||
defaultContentLanguage = "no"
|
||||
defaultContentLanguageInSubdir = true
|
||||
|
||||
[menu]
|
||||
[[menu.main]]
|
||||
identifier = "about"
|
||||
name = "About"
|
||||
url = "about/"
|
||||
[[menu.main]]
|
||||
identifier = "posts"
|
||||
name = "Posts"
|
||||
url = "posts/"
|
1
themes/hello-friend-ng
Submodule
1
themes/hello-friend-ng
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit cac4c547ca697d29f87355980d3e7839589e2d5b
|
Loading…
Add table
Add a link
Reference in a new issue