First post and basic setup
This commit is contained in:
commit
24d571d165
7 changed files with 86 additions and 0 deletions
20
.gitignore
vendored
Normal file
20
.gitignore
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
# Created by https://www.toptal.com/developers/gitignore/api/hugo
|
||||
# Edit at https://www.toptal.com/developers/gitignore?templates=hugo
|
||||
|
||||
### Hugo ###
|
||||
# Generated files by hugo
|
||||
/public/[a-z]*.*
|
||||
/public/*/*
|
||||
/resources/_gen/
|
||||
/assets/jsconfig.json
|
||||
hugo_stats.json
|
||||
|
||||
# Executable may be added to repository
|
||||
hugo.exe
|
||||
hugo.darwin
|
||||
hugo.linux
|
||||
|
||||
# Temporary lock file while building
|
||||
/.hugo_build.lock
|
||||
|
||||
# End of https://www.toptal.com/developers/gitignore/api/hugo
|
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[submodule "themes/anubis"]
|
||||
path = themes/anubis
|
||||
url = https://github.com/mitrichius/hugo-theme-anubis.git
|
6
archetypes/default.md
Normal file
6
archetypes/default.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: "{{ replace .Name "-" " " | title }}"
|
||||
date: {{ .Date }}
|
||||
draft: true
|
||||
---
|
||||
|
25
config.yaml
Normal file
25
config.yaml
Normal file
|
@ -0,0 +1,25 @@
|
|||
baseURL: "https://blog.pflänz.li/"
|
||||
languageCode: "de-ch"
|
||||
title: "Pflänz.li Blog"
|
||||
theme: "anubis"
|
||||
|
||||
menu:
|
||||
main:
|
||||
- identifier: blog
|
||||
name: Blog
|
||||
title: Blog
|
||||
url: /
|
||||
weight: 0
|
||||
- identifier: website
|
||||
name: Website
|
||||
title: Website
|
||||
url: "https://beta.pflänz.li"
|
||||
weight: 0
|
||||
|
||||
params:
|
||||
style: auto-with-switcher
|
||||
author: "thisfro"
|
||||
email: contact@pflaenz.li
|
||||
social:
|
||||
- id: git
|
||||
name: thisfro/pflaenz.li
|
28
content/posts/first-post.md
Normal file
28
content/posts/first-post.md
Normal file
|
@ -0,0 +1,28 @@
|
|||
---
|
||||
title: "Die Beta ist live"
|
||||
date: 2022-01-18T00:00:00+01:00
|
||||
draft: false
|
||||
summary: "Die Beta ist live auf [beta.pflänz.li](https://beta.pflänz.li)!"
|
||||
---
|
||||
|
||||
Willkommen auf dem Pflänz.li Blog!
|
||||
|
||||
## Beta
|
||||
Unter der URL [beta.pflänz.li](https://beta.pflänz.li) ist die Beta nun zugänglich! 🎉
|
||||
Um die Funktionen zu testen, sollte man sich am besten registrieren.
|
||||
|
||||
## Funktionen
|
||||
Die implementierten Funktionen beschränken sich auf das Minimum. Weitere Funktionen sollen jedoch bald folgen. Falls du helfen möchtest, schau mal beim [git-repo](https://git.thisfro.ch/thisfro/pflaenz.li) vorbei.
|
||||
|
||||
---
|
||||
|
||||
Zurzeit funktionieren:
|
||||
- Registrierung
|
||||
- Log in/out
|
||||
- Angebot erstellen (inkl. Bild-Upload)
|
||||
- Angebot bearbeiten/löschen
|
||||
- Tausch anbieten
|
||||
- User-Passwort ändern
|
||||
- Angebote nach PLZ filtern
|
||||
|
||||
Bugs und Verbesserungsvorschläge gerne an [@thisfro](mailto:jannis@thisfro.ch) melden oder issue auf [gitea](https://git.thisfro.ch/thisfro/pflaenz.li) öffnen!
|
3
public/.htaccess
Normal file
3
public/.htaccess
Normal file
|
@ -0,0 +1,3 @@
|
|||
RewriteEngine on
|
||||
RewriteCond %{HTTP:X-Forwarded-Proto} !https
|
||||
RewriteRule (.*) https://blog.pflänz.li/$1 [R=301,L]
|
1
themes/anubis
Submodule
1
themes/anubis
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 05206ec0215fc0f004b5bd7bf225981aed655b3d
|
Loading…
Reference in a new issue