first commit
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
2024-01-13 22:17:06 +01:00
commit 1c26f9e7ba
8 changed files with 90 additions and 0 deletions

30
.drone.yml Normal file
View File

@@ -0,0 +1,30 @@
---
kind: pipeline
name: build
steps:
- name: submodules
image: alpine/git
commands:
- git submodule update --init --recursive --remote
- name: hugo
image: hugomods/hugo:latest
pull: always
commands:
- echo "Checking Hugo version."
- hugo version
- cd /drone/src
- hugo
- ls -al /drone/src/public
- name: docker
# See docs at https://plugins.drone.io/plugins/docker
image: plugins/docker
settings:
username:
from_secret: gitea_username
password:
from_secret: gitea_password
repo: git.qx9.de/christian/christian-weimann.de
registry: git.qx9.de

9
.gitignore vendored Normal file
View File

@@ -0,0 +1,9 @@
/public/
/resources/_gen/
/assets/jsconfig.json
hugo.log
hugo_stats.json
.hugo_build.lock
hugo.exe
hugo.darwin
hugo.linux

3
.gitmodules vendored Normal file
View File

@@ -0,0 +1,3 @@
[submodule "themes/hugo-theme-console"]
path = themes/hugo-theme-console
url = https://git.qx9.de/christian/hugo-theme-console.git

2
Dockerfile Normal file
View File

@@ -0,0 +1,2 @@
FROM nginx:alpine
COPY --chown=nginx:nginx public /usr/share/nginx/html

5
archetypes/default.md Normal file
View File

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

24
config.toml Normal file
View File

@@ -0,0 +1,24 @@
baseurl = "https://example.com/"
title = "christian-weimann.de"
theme = "hugo-theme-console"
languageCode = "de-de"
[params]
# Cutting off the page title to two chars for mobile (console-demo -> co)
titleCutting = true
# Set the animation style -- https://animate.style/
# To disable animations, please remove or comment animationStyle parameter
animateStyle = "animated zoomIn fast"
[[params.navlinks]]
name = "about/"
url = "about/"
[[params.navlinks]]
name = "posts/"
url = "posts/"
[[params.navlinks]]
name = "photos/"
url = "photos/"

16
docker-compose.yml Normal file
View File

@@ -0,0 +1,16 @@
version: "3.3"
services:
qx9de:
image: git.qx9.de/christian/christian-weimann.de:latest
restart: unless-stopped
networks:
- rproxy
labels:
- traefik.enable=true
- traefik.http.routers.qx9de.rule=Host(`christianweimannde.web.qx9.de`,`christian-weimann.de`, `www.christian-weimann.de`)
networks:
rproxy:
external:
name: rproxy