first
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
{# Template: Caddyfile für Ziel-Host #}
|
||||
https://{{ target_hostname }}:{{ target_port }} {
|
||||
tls /etc/caddy/certs/{{ target_hostname }}.crt /etc/caddy/certs/{{ target_hostname }}.key
|
||||
reverse_proxy hugo:1313
|
||||
}
|
||||
{% if target_hostname != 'localhost' %}
|
||||
https://localhost:{{ target_port }} {
|
||||
tls /etc/caddy/certs/localhost.crt /etc/caddy/certs/localhost.key
|
||||
reverse_proxy hugo:1313
|
||||
}
|
||||
{% endif %}
|
||||
@@ -0,0 +1,32 @@
|
||||
{# Template: hugo.toml für Ziel-Host #}
|
||||
# Hugo 0.165+ — moderne Konfiguration
|
||||
baseURL = "https://{{ target_hostname }}:{{ target_port }}/"
|
||||
locale = "de"
|
||||
title = "{{ site_title }}"
|
||||
enableGitInfo = false
|
||||
disableFastRender = true
|
||||
|
||||
[markup]
|
||||
[markup.highlight]
|
||||
style = "catppuccin-mocha"
|
||||
noClasses = false
|
||||
lineNos = false
|
||||
[markup.goldmark]
|
||||
[markup.goldmark.renderer]
|
||||
unsafe = true
|
||||
|
||||
[taxonomies]
|
||||
tag = "tags"
|
||||
|
||||
[outputs]
|
||||
home = ["HTML", "RSS"]
|
||||
page = ["HTML"]
|
||||
|
||||
[params]
|
||||
description = "{{ site_description }}"
|
||||
author = "{{ site_author }}"
|
||||
images = []
|
||||
|
||||
buildDrafts = false
|
||||
buildFuture = false
|
||||
buildExpired = false
|
||||
Reference in New Issue
Block a user