diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/atom_post_template.xml | 12 | ||||
-rw-r--r-- | templates/atom_template.xml | 12 | ||||
-rw-r--r-- | templates/index_template.html | 44 | ||||
-rw-r--r-- | templates/page_template.html | 42 |
4 files changed, 110 insertions, 0 deletions
diff --git a/templates/atom_post_template.xml b/templates/atom_post_template.xml new file mode 100644 index 0000000..0096010 --- /dev/null +++ b/templates/atom_post_template.xml @@ -0,0 +1,12 @@ +<entry xml:lang="fr"> + <author><name>Oxbian</name><uri>https://blog.arka.rocks</uri></author> + <title type="html">$TITLE</title> + <link rel="alternate" type="text/html" href="$URL"/> + <id>$URL</id> + <published>$DATE</published> + <updated>$DATE</updated> + <content type="html"> + <h1>$TITLE</h1> + $CONTENT + </content> +</entry>
\ No newline at end of file diff --git a/templates/atom_template.xml b/templates/atom_template.xml new file mode 100644 index 0000000..9fca838 --- /dev/null +++ b/templates/atom_template.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<feed xmlns="http://www.w3.org/2005/Atom" + xmlns:thr="http://purl.org/syndication/thread/1.0" + xml:lang="fr"> + <title type="text">blog.arka.rocks</title> + <subtitle type="text">Blog d'Oxbian</subtitle> + <updated>$DATE</updated> + <link rel="alternate" type="text/html" href="https://blog.arka.rocks"/> + <id>https://blog.arka.rocks</id> + <link rel="self" type="application/atom+xml" href="https://blog.arka.rocks/atom.xml"/> +$CONTENT +</feed> diff --git a/templates/index_template.html b/templates/index_template.html new file mode 100644 index 0000000..3ddd4e3 --- /dev/null +++ b/templates/index_template.html @@ -0,0 +1,44 @@ +<!DOCTYPE html> +<html lang="fr"> +<head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <meta name="description" content="Blog d'Oxbian"> + <meta property="og:title" content="Blog d'Oxbian"> + <meta property="og:url" content="https://blog.arka.rocks"> + <meta property="og:type" content="article"> + <meta property="og:article:author" content="Oxbian"> + <title>Blog d'Oxbian</title> + <link rel="alternate" href="atom.xml" type="application/atom+xml" title="RSS"> + <link rel="stylesheet" href="assets/css/style.css"> + <link rel="shortcut icon" href="assets/favicon/favicon.ico" type="image/x-icon"> +</head> +<body> + <header> + <div class="navbar"> + <a href="index.html">Accueil</a> + <a href="pages/how-to-read.html">Comment lire ce blog ?</a> + <a href="pages/about.html">À Propos</a> + <a href="atom.xml">RSS</a> + </div> + </header> + <main> + <article> + <h1>Bienvenue sur mon blog</h1> + <p>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..</p> + + $CONTENT + </article> + </main> + <hr> + <footer> + <p>Contactez-moi pour toute question ou discussion, je répond assez vite en général.</p> + <div> + <a class="matrix" href="https://matrix.to/#/@oxbian:matrix.org">Matrix</a> + <a rel="me" class="mastodon" href="https://social.linux.pizza/@Oxbian">Mastodon</a> + <a class="mail" href="mailto:oxbian.noch@simplelogin.com">Mail</a> + </div> + </footer> +</body> +</html> diff --git a/templates/page_template.html b/templates/page_template.html new file mode 100644 index 0000000..acee6ba --- /dev/null +++ b/templates/page_template.html @@ -0,0 +1,42 @@ +<!DOCTYPE html> +<html lang="fr"> +<head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <meta name="description" content="$DESC"> + <meta property="og:title" content="$TITLE"> + <meta property="og:type" content="article" > + <meta property="og:article:author" content="Oxbian"> + <meta property="og:article:published_time" content="$DATE"> + <meta property="og:image" content="$IMAGE_PREVIEW"> + <title>$TITLE</title> + <link rel="alternate" href="../atom.xml" type="application/atom+xml" title="RSS"> + <link rel="stylesheet" href="../assets/css/style.css"> + <link rel="shortcut icon" href="../assets/favicon/favicon.ico" type="image/x-icon"> +</head> +<body> + <header> + <div class="navbar"> + <a href="../index.html">Accueil</a> + <a href="../pages/how-to-read.html">Comment lire ce blog ?</a> + <a href="../pages/about.html">À Propos</a> + <a href="../atom.xml">RSS</a> + </div> + </header> + <main> + <article> + <h1>$TITLE</h1> + $CONTENT + </article> + </main> + <hr> + <footer> + <p>Contactez-moi pour toute question ou discussion, je répond assez vite en général.</p> + <div> + <a class="matrix" href="https://matrix.to/#/@oxbian:matrix.org">Matrix</a> + <a rel="me" class="mastodon" href="https://social.linux.pizza/@Oxbian">Mastodon</a> + <a class="mail" href="mailto:oxbian.noch@simplelogin.com">Mail</a> + </div> + </footer> +</body> +</html> |