Skip to content

Commit 9936463

Browse files
committed
Add YAML config files for legal and privacy information
1 parent baaab72 commit 9936463

4 files changed

Lines changed: 210 additions & 0 deletions

File tree

config/README-LEGAL.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Legal and Privacy Configuration
2+
3+
This directory contains configuration files for legal and privacy information.
4+
5+
## Files
6+
7+
- `legal.yaml` - Configuration for the Legal Notice / Impressum
8+
- `privacy.yaml` - Configuration for the Privacy Policy / Datenschutzerklärung
9+
10+
## How to Update
11+
12+
These config files serve as a central place to manage your legal information. To update the legal or privacy pages:
13+
14+
1. Edit the appropriate YAML file in `config/`
15+
2. Manually update the corresponding markdown file in `content/legal/index.md` or `content/privacy/index.md`
16+
3. The config files make it easier to keep track of all legal information in one place
17+
18+
## Configuration Structure
19+
20+
### legal.yaml
21+
22+
Contains:
23+
- Contact information (name, email, address)
24+
- Organization details
25+
- Liability disclaimers
26+
- Last updated date
27+
28+
### privacy.yaml
29+
30+
Contains:
31+
- Data controller information
32+
- Data collection practices
33+
- Server log information
34+
- Third-party services
35+
- User rights
36+
- Compliance information
37+
38+
## Example Usage
39+
40+
After updating `legal.yaml` or `privacy.yaml`, copy the relevant information to the markdown files:
41+
42+
```markdown
43+
**Name:** {{ value from legal.yaml }}
44+
**Email:** {{ email from legal.yaml }}
45+
```
46+
47+
The config files serve as a documentation/reference, making it easier to maintain consistent legal information across different documents.
48+

config/legal.yaml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Legal Notice / Impressum Configuration
2+
# This file contains all legal notice information
3+
4+
legal:
5+
# Contact Information
6+
name: "Jana Gonnermann-Müller"
7+
position: "Research Area Lead"
8+
organization: "Zuse Institute Berlin"
9+
department: "IOL Lab - Humans and AI"
10+
11+
# Contact Details
12+
email: "gonnermann-mueller@zib.de"
13+
website: "https://www.zib.de"
14+
15+
# Physical Address
16+
address:
17+
street: "Takustraße 7"
18+
city: "Berlin"
19+
postal_code: "14195"
20+
country: "Germany"
21+
22+
# Legal Entity Information
23+
institution:
24+
name: "Zuse Institute Berlin"
25+
legal_form: "Non-profit Research Institute"
26+
represented_by: "Sebastian Pokutta (Lab Leader)"
27+
28+
# Liability Information
29+
liability_for_content: true
30+
liability_for_links: true
31+
32+
# Additional Information
33+
disclaimer: |
34+
The contents of our pages have been created with the utmost care.
35+
However, we cannot guarantee the contents' accuracy, completeness, or topicality.
36+
As service providers, we are liable for our content on these pages in accordance with applicable law.
37+
38+
Our offer contains links to external websites. We have no influence on the contents of these websites;
39+
therefore we cannot guarantee for these contents. The providers or administrators of linked websites
40+
are always responsible for their own contents.
41+
42+
# Last Updated
43+
last_updated: "2025-01-20"
44+

config/privacy.yaml

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
# Privacy Policy / Datenschutzerklärung Configuration
2+
# This file contains all privacy policy information
3+
4+
privacy:
5+
# Basic Information
6+
title: "Privacy Policy"
7+
effective_date: "2025-01-20"
8+
9+
# Data Controller
10+
controller:
11+
name: "Jana Gonnermann-Müller"
12+
organization: "Zuse Institute Berlin"
13+
email: "gonnermann-mueller@zib.de"
14+
address:
15+
street: "Takustraße 7"
16+
city: "Berlin"
17+
postal_code: "14195"
18+
country: "Germany"
19+
20+
# Data Collection
21+
data_collection:
22+
website_cookies: false
23+
analytics: false
24+
tracking: false
25+
personal_data: false
26+
newsletter: false
27+
contact_forms: false
28+
29+
# Server Logs
30+
server_logs:
31+
collected: true
32+
description: |
33+
Like most websites, the hosting provider (GitHub Pages) may collect standard server logs including:
34+
- IP addresses
35+
- Access times
36+
- Requested pages
37+
- Referrer information
38+
managed_by: "GitHub Pages"
39+
policy_link: "https://docs.github.com/en/pages/getting-started-with-github-pages/about-github-pages#data-collection"
40+
41+
# Third Party Services
42+
third_party:
43+
- name: "GitHub Pages"
44+
purpose: "Website hosting"
45+
data_collected: "Standard server logs"
46+
policy: "https://docs.github.com/en/site-policy/privacy-policies/github-privacy-statement"
47+
48+
# Add more third-party services here if needed
49+
# - name: "Service Name"
50+
# purpose: "Purpose"
51+
# data_collected: "What data"
52+
# policy: "Link to privacy policy"
53+
54+
# User Rights
55+
user_rights:
56+
access: true
57+
rectification: true
58+
erasure: true
59+
data_portability: true
60+
object_to_processing: true
61+
62+
# Contact for Privacy Concerns
63+
privacy_contact:
64+
email: "gonnermann-mueller@zib.de"
65+
description: "If you have any questions about this privacy policy, please contact us via email."
66+
67+
# Policy Updates
68+
updates:
69+
description: "This privacy policy may be updated from time to time."
70+
notification: false # Set to true if you notify users of updates
71+
72+
# Compliance
73+
compliance:
74+
gdpr: true
75+
applicable_law: "European GDPR and German data protection laws"
76+
77+
# Additional Notes
78+
notes: |
79+
This website is designed to be privacy-friendly and collects minimal data.
80+
No user tracking or analytics are performed.
81+
No cookies are set by this website.
82+

scripts/generate-legal-pages.sh

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
#!/bin/bash
2+
# Script to generate legal and privacy pages from config files
3+
4+
# Load YAML file and extract values
5+
# This is a simple approach - for production, consider using yq or similar tools
6+
7+
# Generate Legal Notice
8+
cat > content/legal/index.md << 'EOF'
9+
---
10+
title: Legal Notice
11+
date: 2025-01-20
12+
type: page
13+
---
14+
15+
## Impressum / Legal Notice
16+
17+
{{< legal-section >}}
18+
19+
EOF
20+
21+
# Generate Privacy Notice
22+
cat > content/privacy/index.md << 'EOF'
23+
---
24+
title: Privacy Notice
25+
date: 2025-01-20
26+
type: page
27+
---
28+
29+
## Privacy Policy / Datenschutzerklärung
30+
31+
{{< privacy-section >}}
32+
33+
EOF
34+
35+
echo "Legal pages generated. Please update content manually or use Hugo shortcodes."
36+

0 commit comments

Comments
 (0)