From 06c1a014c2c3820454c0ac697fdfdb029b983d9e Mon Sep 17 00:00:00 2001 From: Oxbian Date: Thu, 6 Jul 2023 00:38:06 +0200 Subject: Adding language system to the blog --- templates/atom_post_template.xml | 12 -------- templates/atom_template.xml | 12 -------- templates/en/atom_feed_template.xml | 12 ++++++++ templates/en/atom_post_template.xml | 12 ++++++++ templates/en/index_template.html | 58 ++++++++++++++++++++++++++++++++++++ templates/en/page_template.html | 56 +++++++++++++++++++++++++++++++++++ templates/en/tags_template.html | 51 ++++++++++++++++++++++++++++++++ templates/fr/atom_feed_template.xml | 12 ++++++++ templates/fr/atom_post_template.xml | 12 ++++++++ templates/fr/index_template.html | 59 +++++++++++++++++++++++++++++++++++++ templates/fr/page_template.html | 56 +++++++++++++++++++++++++++++++++++ templates/fr/tags_template.html | 51 ++++++++++++++++++++++++++++++++ templates/index_template.html | 59 ------------------------------------- templates/page_template.html | 56 ----------------------------------- templates/tags_template.html | 51 -------------------------------- 15 files changed, 379 insertions(+), 190 deletions(-) delete mode 100644 templates/atom_post_template.xml delete mode 100644 templates/atom_template.xml create mode 100644 templates/en/atom_feed_template.xml create mode 100644 templates/en/atom_post_template.xml create mode 100644 templates/en/index_template.html create mode 100644 templates/en/page_template.html create mode 100644 templates/en/tags_template.html create mode 100644 templates/fr/atom_feed_template.xml create mode 100644 templates/fr/atom_post_template.xml create mode 100644 templates/fr/index_template.html create mode 100644 templates/fr/page_template.html create mode 100644 templates/fr/tags_template.html delete mode 100644 templates/index_template.html delete mode 100644 templates/page_template.html delete mode 100644 templates/tags_template.html (limited to 'templates') diff --git a/templates/atom_post_template.xml b/templates/atom_post_template.xml deleted file mode 100644 index 0096010..0000000 --- a/templates/atom_post_template.xml +++ /dev/null @@ -1,12 +0,0 @@ - - Oxbianhttps://blog.arka.rocks - $TITLE - - $URL - $DATE - $DATE - - <h1>$TITLE</h1> - $CONTENT - - \ No newline at end of file diff --git a/templates/atom_template.xml b/templates/atom_template.xml deleted file mode 100644 index 9fca838..0000000 --- a/templates/atom_template.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - blog.arka.rocks - Blog d'Oxbian - $DATE - - https://blog.arka.rocks - -$CONTENT - diff --git a/templates/en/atom_feed_template.xml b/templates/en/atom_feed_template.xml new file mode 100644 index 0000000..ef72ecb --- /dev/null +++ b/templates/en/atom_feed_template.xml @@ -0,0 +1,12 @@ + + + blog.arka.rocks + Oxbian's Blog + $DATE + + https://blog.arka.rocks + +$CONTENT + diff --git a/templates/en/atom_post_template.xml b/templates/en/atom_post_template.xml new file mode 100644 index 0000000..7c975d4 --- /dev/null +++ b/templates/en/atom_post_template.xml @@ -0,0 +1,12 @@ + + Oxbianhttps://blog.arka.rocks + $TITLE + + $URL + $DATE + $DATE + + <h1>$TITLE</h1> + $CONTENT + + diff --git a/templates/en/index_template.html b/templates/en/index_template.html new file mode 100644 index 0000000..18a40c8 --- /dev/null +++ b/templates/en/index_template.html @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + Oxbian's blog + + + +
+ +
+ + +
+
+

Welcome on my blog

+

On this blog you will found articles about IT, coding, network, cybersecurity, free software.. + Moreover I share articles about good practices in different domains like privacy, sport..

+ $CONTENT +
+
+ + +
+ + + diff --git a/templates/en/page_template.html b/templates/en/page_template.html new file mode 100644 index 0000000..d10ebee --- /dev/null +++ b/templates/en/page_template.html @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + $TITLE + + + +
+ +
+ + +
+
+

$TITLE

+ $CONTENT +
+
+ + +
+ + + diff --git a/templates/en/tags_template.html b/templates/en/tags_template.html new file mode 100644 index 0000000..f230459 --- /dev/null +++ b/templates/en/tags_template.html @@ -0,0 +1,51 @@ + + + + + + + + + + + + + Tag: $TITLE + + + +
+ +
+ + +
+
+

$TITLE

+ $CONTENT +
+
+ + +
+ + + diff --git a/templates/fr/atom_feed_template.xml b/templates/fr/atom_feed_template.xml new file mode 100644 index 0000000..9fca838 --- /dev/null +++ b/templates/fr/atom_feed_template.xml @@ -0,0 +1,12 @@ + + + blog.arka.rocks + Blog d'Oxbian + $DATE + + https://blog.arka.rocks + +$CONTENT + diff --git a/templates/fr/atom_post_template.xml b/templates/fr/atom_post_template.xml new file mode 100644 index 0000000..0096010 --- /dev/null +++ b/templates/fr/atom_post_template.xml @@ -0,0 +1,12 @@ + + Oxbianhttps://blog.arka.rocks + $TITLE + + $URL + $DATE + $DATE + + <h1>$TITLE</h1> + $CONTENT + + \ No newline at end of file diff --git a/templates/fr/index_template.html b/templates/fr/index_template.html new file mode 100644 index 0000000..805c1c5 --- /dev/null +++ b/templates/fr/index_template.html @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + + + Blog d'Oxbian + + + +
+ +
+ + +
+
+

Bienvenue sur mon blog

+

Sur ce blog vous retrouverez des articles liés à l'informatique, la programmation, le réseau, la sécurité, le libre, etc. + De plus j'y partage aussi des articles sur les bonnes pratiques dans divers domaines, comme la vie privée, le sport..

+ + $CONTENT +
+
+ + +
+ + + diff --git a/templates/fr/page_template.html b/templates/fr/page_template.html new file mode 100644 index 0000000..d3096ca --- /dev/null +++ b/templates/fr/page_template.html @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + $TITLE + + + +
+ +
+ + +
+
+

$TITLE

+ $CONTENT +
+
+ + +
+ + + diff --git a/templates/fr/tags_template.html b/templates/fr/tags_template.html new file mode 100644 index 0000000..d913339 --- /dev/null +++ b/templates/fr/tags_template.html @@ -0,0 +1,51 @@ + + + + + + + + + + + + + Tag: $TITLE + + + +
+ +
+ + +
+
+

$TITLE

+ $CONTENT +
+
+ + +
+ + + diff --git a/templates/index_template.html b/templates/index_template.html deleted file mode 100644 index c8cd6ae..0000000 --- a/templates/index_template.html +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - - - - - - - - - - Blog d'Oxbian - - - -
- -
- - -
-
-

Bienvenue sur mon blog

-

Sur ce blog vous retrouverez des articles liés à l'informatique, la programmation, le réseau, la sécurité, le libre, etc. - De plus j'y partage aussi des articles sur les bonnes pratiques dans divers domaines, comme la vie privée, le sport..

- - $CONTENT -
-
- - -
- - - diff --git a/templates/page_template.html b/templates/page_template.html deleted file mode 100644 index 8374367..0000000 --- a/templates/page_template.html +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - - - - - - - - - $TITLE - - - -
- -
- - -
-
-

$TITLE

- $CONTENT -
-
- - -
- - - diff --git a/templates/tags_template.html b/templates/tags_template.html deleted file mode 100644 index 6e84ddf..0000000 --- a/templates/tags_template.html +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - Tag: $TITLE - - - -
- -
- - -
-
-

$TITLE

- $CONTENT -
-
- - -
- - - -- cgit v1.2.3