Skip to content

Commit 9edbf75

Browse files
Add privacy policy article linked in footer
1 parent b206a80 commit 9edbf75

File tree

4 files changed

+13
-0
lines changed

4 files changed

+13
-0
lines changed

articles/privacy/article.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Privacy policy
2+
3+
This page is under construction.

articles/privacy/article.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
title: "Privacy policy"
2+
content: "article.md"
3+
author: "MTA Team"
4+
date: "2025-01-01 12:00:00"
5+
revisions: []
6+
assets: []

web/resources/layout.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@
9494
<div class="inner">
9595
<p>Copyright &copy; {{ year }} Multi Theft Auto team and contributors</p>
9696
<p><i class="fab fa-github"></i> <a href="https://github.com/multitheftauto/mtasa-wiki" rel="noopener" target="_blank">Wiki on GitHub</a></p>
97+
<p><a href="/privacy">Privacy policy</a></p>
9798
</div>
9899
</footer>
99100
</body>

web/scripts/builder.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,9 @@ def create_category(self, web_path, category_data):
322322

323323
def create_misc_pages(self):
324324

325+
# Predefined articles
326+
self.create_article('privacy')
327+
325328
other_pages = [
326329
{
327330
'path_html': '404.html',

0 commit comments

Comments
 (0)