Skip to content

Commit

Permalink
feat(page): add simple text page for imprint
Browse files Browse the repository at this point in the history
  • Loading branch information
Lino committed Apr 20, 2024
1 parent 37f9d24 commit 9fe0406
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 12 deletions.
1 change: 0 additions & 1 deletion apache/website.conf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
RewriteRule ^/download https://berlin.freifunk.net/de/downloads/ [R=301,L]
RewriteRule ^/participate/ https://berlin.freifunk.net/de/participate/ [R=301,L]
RewriteRule ^/p$ https://berlin.freifunk.net/de/participate/ [R=301,L]
RewriteRule ^/impressum/$ https://berlin.freifunk.net/de/impressum/ [R=301,L]
RewriteRule ^/wiki/$ https://berlin.freifunk.net/de/wiki/ [R=301,L]
RewriteRule ^/meshwiki$ https://berlin.freifunk.net/de/wiki/ [R=301,L]
RewriteRule .* https://berlin.freifunk.net%{REQUEST_URI} [R=301,L]
Expand Down
10 changes: 0 additions & 10 deletions content/impressum.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,7 @@
---
title: "Impressum"
description: ""
featured_image: ''
omit_header_text: true
description: ''
type: page
menu: footer

---


### Impressum

**Kontakt Freifunk Berlin**
info{at}berlin.freifunk.net

Expand Down
2 changes: 1 addition & 1 deletion hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ unsafe = true
weight = 30

[params.footer]
copyright = "This work is licensed under [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) | [Imprint](/imprint)"
copyright = "This work is licensed under [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) | [Imprint](/impressum)"
version = true

[params.social]
Expand Down
16 changes: 16 additions & 0 deletions layouts/page/single.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{{ define "main" }}

<section id="{{ .Title }}">
<div class="container mt-100 mt-60">
<div class="row">
<div class="col-12">
<div class="section-title">
<h1 class="title fw-bold mb-4">{{ .Title }}</h1>
<p class="text-muted para-desc mb-4 pb-2 mx-auto">{{ .Content | markdownify }}</p>
</div>
</div>
</div>
</div>
</section>

{{ end }}

0 comments on commit 9fe0406

Please sign in to comment.