This commit is contained in:
30
.drone.yml
Normal file
30
.drone.yml
Normal 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
9
.gitignore
vendored
Normal 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
3
.gitmodules
vendored
Normal 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
2
Dockerfile
Normal file
@@ -0,0 +1,2 @@
|
||||
FROM nginx:alpine
|
||||
COPY --chown=nginx:nginx public /usr/share/nginx/html
|
||||
5
archetypes/default.md
Normal file
5
archetypes/default.md
Normal file
@@ -0,0 +1,5 @@
|
||||
+++
|
||||
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
|
||||
date = {{ .Date }}
|
||||
draft = true
|
||||
+++
|
||||
24
config.toml
Normal file
24
config.toml
Normal 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
16
docker-compose.yml
Normal 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
|
||||
1
themes/hugo-theme-console
Submodule
1
themes/hugo-theme-console
Submodule
Submodule themes/hugo-theme-console added at b3306403b8
Reference in New Issue
Block a user