init of a real website

This commit is contained in:
Casual 2024-03-07 09:15:35 +03:00
parent c3c42e4c6e
commit dfa578bd26
9 changed files with 64 additions and 19 deletions

3
.gitmodules vendored
View File

@ -1,3 +1,6 @@
[submodule "themes/anubis"] [submodule "themes/anubis"]
path = themes/anubis path = themes/anubis
url = https://github.com/mitrichius/hugo-theme-anubis.git url = https://github.com/mitrichius/hugo-theme-anubis.git
[submodule "themes/anubis2"]
path = themes/anubis2
url = https://github.com/Junyi-99/hugo-theme-anubis2.git

View File

@ -1,6 +1,5 @@
--- +++
title: "{{ replace .Name "-" " " | title }}" title = '{{ replace .File.ContentBaseName "-" " " | title }}'
date: {{ .Date }} date = {{ .Date }}
draft: true draft = true
--- +++

13
content/_index.md Normal file
View File

@ -0,0 +1,13 @@
+++
title = 'Index of Casual Blog'
date = 2024-03-07T09:01:06+03:00
draft = false
+++
# Hi there
<!-- TODO -->
## About site
Powered with Hugo with Anubis2 theme.

View File

@ -1,10 +0,0 @@
---
title: "Hello World"
date: 2023-07-23T17:56:22+03:00
draft: false
---
# Hello World!
World Hello

10
content/posts/test.md Normal file
View File

@ -0,0 +1,10 @@
+++
title = 'Test'
date = 2024-03-07T08:45:04+03:00
draft = false
+++
Hello there!
It's first post and I'm doing it on an overcomplicated system in my homelab.
<!-- TODO -->

13
content/whoami/casual.md Normal file
View File

@ -0,0 +1,13 @@
+++
title = 'Who is Casual?'
date = 2024-03-06T22:36:30+03:00
draft = false
+++
# Casual
There will be some kind of resume and info about me in future :)
<!-- TODO -->

View File

@ -1,7 +1,10 @@
# baseURL = 'https://example.org/'
# languageCode = 'en-us'
# title = 'My New Hugo Site'
languageCode: "en-us" languageCode: "en-us"
baseUrl: "https://blog.ca.sual.in/" baseUrl: "https://blog.ca.sual.in/"
title: "Casual Blog" title: "Casual Blog"
theme: "anubis" theme: "anubis2"
paginate: 10 paginate: 10
# disqusShortname: "yourdiscussshortname" # disqusShortname: "yourdiscussshortname"
# googleAnalytics: "G-12345" # googleAnalytics: "G-12345"
@ -13,6 +16,11 @@ menu:
name: Blog name: Blog
title: Blog title: Blog
url: /posts/ url: /posts/
weight: 10
- identifier: whoami
name: About me
title: Whoami
url: /whoami/casual/
weight: 0 weight: 0
params: params:
@ -27,7 +35,8 @@ params:
# - css/my.css # relative path to "assets" directory (don't use main.css filename) # - css/my.css # relative path to "assets" directory (don't use main.css filename)
# customJS: # customJS:
# - js/main.js # relative path to "assets" directory # - js/main.js # relative path to "assets" directory
dateFormat: "2006-01-02" # dateFormat: "29.01.2024"
# dateFormat: "29.01.2024"
paginationSinglePost: true paginationSinglePost: true
style: dark-without-switcher style: dark-without-switcher
mainSections: [ "blog" ] # which sections should be on index/main page mainSections: [ "blog" ] # which sections should be on index/main page
@ -81,3 +90,11 @@ params:
# goldmark: # goldmark:
# renderer: # renderer:
# unsafe: true # enable raw HTML in Markdown # unsafe: true # enable raw HTML in Markdown
# module:
# imports:
# - disable: false
# ignoreConfig: false
# ignoreImports: false
# path: github.com/Junyi-99/hugo-theme-anubis2
# - path: anubis2
#

@ -1 +0,0 @@
Subproject commit d5bd8c2848414141949fc1f97a4b13f72f3637d5

1
themes/anubis2 Submodule

@ -0,0 +1 @@
Subproject commit d2a006804e774d014fe0065e860e374ebfe8d466