diff --git a/.gitignore b/.gitignore index 8a7311e..9997d76 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,4 @@ .db-root-password .env themes - +.email-old diff --git a/Dockerfile b/Dockerfile index 1a3f72f..6d0d56d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ghost:5.98.1-alpine +FROM ghost:5.94.1-alpine RUN apk update && apk add gettext COPY config.production.template /var/lib/ghost/ COPY log-rotate /etc/logrotate.d/ghost diff --git a/docker-compose.yml b/docker-compose.yml index 0b212db..56aa963 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,6 +7,7 @@ services: NODE_ENV: production volumes: - ghost-content:/var/lib/ghost/content + - ./settings:/var/lib/ghost/content/settings - ./themes/:/var/lib/ghost/content/themes networks: - appnet diff --git a/settings/routes-2024-02-11-18-03-14.yaml b/settings/routes-2024-02-11-18-03-14.yaml new file mode 100644 index 0000000..4be6245 --- /dev/null +++ b/settings/routes-2024-02-11-18-03-14.yaml @@ -0,0 +1,13 @@ +routes: + +collections: + /: + permalink: /{slug}/ + template: index + /pub/: + permalink: /pub/{slug}/ + template: index + filter: tag:-pub-nights +taxonomies: + tag: /tag/{slug}/ + author: /author/{slug}/ diff --git a/settings/routes.yaml b/settings/routes.yaml new file mode 100644 index 0000000..e35d8e9 --- /dev/null +++ b/settings/routes.yaml @@ -0,0 +1,19 @@ +routes: + #/: head + /tag/{slug}/: head + /tags/: head + /authors/: head + /author/{slug}/: head + #/{slug}/: head + #/{slug}/{slug-1}/: head + #/{slug}/{slug-1}/{slug-2}/: head + +collections: + /: + permalink: /{slug}/ + #template: head +taxonomies: + tag: /tag/{slug}/ + # - template: head + author: /author/{slug}/ + #- template: head