Changed colors

main
theo@manjaro 2023-02-08 17:18:56 +01:00
parent 011cfb2c71
commit 78773c5091
2 changed files with 13 additions and 5 deletions

View File

@ -9,13 +9,14 @@
<link href="atom_en.xml" type="application/atom+xml" rel="alternate" title="$GLOBAL_TITLE (EN only)" >
<link href="atom_fr.xml" type="application/atom+xml" rel="alternate" title="$GLOBAL_TITLE (en français)" >
<link rel="shortcut icon" href="img/favicon.png" >
<link rel="me" href="https://soc.webair.xyz/@theo">
<link rel="canonical" href="$HTMLLINK">
<style>
:root {
--bg: #20283d;
--bg-alt: #426e5d;
--fg: #fbf7f3;
--fg-alt: #e5b083;
--bg: #191724;
--bg-alt: #403d52;
--fg: #e0def4;
--fg-alt: #eb6f92;
}
body {
margin:40px auto;

View File

@ -36,11 +36,18 @@ def is_image(link):
return False
def generate_rels(links):
result = ""
for link in links:
result += f'<link rel="me" href="https://soc.webair.xyz/@theo">\n'
return result
def fill_globals(text):
return text.replace("$AUTHOR", global_name)\
.replace("$BASE_URL", base_url)\
.replace("$GLOBAL_TITLE", global_title)\
.replace("$SUBTITLE", global_subtitle)
.replace("$SUBTITLE", global_subtitle)\
# Add the html version to the post dictionnary