From d365ef07be8d5e3066211983bea59371a55ee087 Mon Sep 17 00:00:00 2001 From: daniel-Jones Date: Mon, 11 Jun 2018 09:42:53 +0930 Subject: changed default theme to light, added solarized template and link --- live.sh | 2 ++ sync.sh | 4 ++++ template.txt | 13 ++++-------- templates/template_dark.txt | 2 +- templates/template_kawaii.txt | 2 +- templates/template_light.txt | 2 +- templates/template_nocss.txt | 2 +- templates/template_solarized.txt | 44 ++++++++++++++++++++++++++++++++++++++++ 8 files changed, 58 insertions(+), 13 deletions(-) create mode 100644 templates/template_solarized.txt diff --git a/live.sh b/live.sh index 48cb930..456cf83 100755 --- a/live.sh +++ b/live.sh @@ -3,9 +3,11 @@ python3 generatesite.py templates/template_dark.txt dark python3 generatesite.py templates/template_nocss.txt nocss python3 generatesite.py templates/template_kawaii.txt kawaii python3 generatesite.py templates/template_light.txt light +python3 generatesite.py templates/template_solarized.txt solarized cp -r output/* /var/www chmod -R +r /var/www/blog chmod -R +r /var/www/dark chmod -R +r /var/www/kawaii chmod -R +r /var/www/nocss chmod -R +r /var/www/light +chmod -R +r /var/www/solarized diff --git a/sync.sh b/sync.sh index 15083ef..626c29e 100755 --- a/sync.sh +++ b/sync.sh @@ -5,21 +5,25 @@ rsync -r /var/www/media /var/www/kawaii/ rsync -r /var/www/media /var/www/dark/ rsync -r /var/www/media /var/www/light/ rsync -r /var/www/media /var/www/nocss/ +rsync -r /var/www/media /var/www/solarized/ # blog media directory rsync -r /var/www/blog/media /var/www/kawaii/blog/ rsync -r /var/www/blog/media /var/www/dark/blog/ rsync -r /var/www/blog/media /var/www/light/blog/ rsync -r /var/www/blog/media /var/www/nocss/blog/ +rsync -r /var/www/blog/media /var/www/solarized/blog/ # waifu media directory rsync -r /var/www/waifus/media /var/www/kawaii/waifus/ rsync -r /var/www/waifus/media /var/www/dark/waifus/ rsync -r /var/www/waifus/media /var/www/light/waifus/ rsync -r /var/www/waifus/media /var/www/nocss/waifus/ +rsync -r /var/www/waifus/media /var/www/solarized/waifus/ # opinions media directory rsync -r /var/www/opinions/media /var/www/kawaii/opinions/ rsync -r /var/www/opinions/media /var/www/dark/opinions/ rsync -r /var/www/opinions/media /var/www/light/opinions/ rsync -r /var/www/opinions/media /var/www/nocss/opinions/ +rsync -r /var/www/opinions/media /var/www/solarized/opinions/ diff --git a/template.txt b/template.txt index b8711b1..20bed26 100644 --- a/template.txt +++ b/template.txt @@ -10,27 +10,22 @@ {TITLE}

danieljon.es

-normal light dark no css
- +normal solarized dark no css
index blog opinions interesting git {INFO}
diff --git a/templates/template_dark.txt b/templates/template_dark.txt index 37457e2..564a680 100644 --- a/templates/template_dark.txt +++ b/templates/template_dark.txt @@ -29,7 +29,7 @@ div.cover{display:inline-block; vertical-align: top; padding-top: 28px; padding-

danieljon.es

-normal light dark no css
+normal solarized dark no css
index blog opinions interesting git {INFO}
diff --git a/templates/template_kawaii.txt b/templates/template_kawaii.txt index 88351cb..4ecd313 100644 --- a/templates/template_kawaii.txt +++ b/templates/template_kawaii.txt @@ -25,7 +25,7 @@ div.cover{display:inline-block; vertical-align: top; padding-top: 28px; padding-

danieljon.es

-normal light dark no css
+normal solarized dark no css
index blog opinions interesting git {INFO}
diff --git a/templates/template_light.txt b/templates/template_light.txt index f94cdfc..95abfc0 100644 --- a/templates/template_light.txt +++ b/templates/template_light.txt @@ -25,7 +25,7 @@ div.cover{display:inline-block; vertical-align: top; padding-top: 28px; padding-

danieljon.es

-normal light dark no css
+normal solarized dark no css
index blog opinions interesting git {INFO}
diff --git a/templates/template_nocss.txt b/templates/template_nocss.txt index 06e17ee..41c7533 100644 --- a/templates/template_nocss.txt +++ b/templates/template_nocss.txt @@ -12,7 +12,7 @@

danieljon.es

-normal light dark no css
+normal solarized dark no css
index blog opinions interesting git {INFO} {CONTENT} diff --git a/templates/template_solarized.txt b/templates/template_solarized.txt new file mode 100644 index 0000000..65b2d54 --- /dev/null +++ b/templates/template_solarized.txt @@ -0,0 +1,44 @@ + + + + + + + + + + +{TITLE} + + + +
+

danieljon.es

+normal solarized dark no css
+ +index blog opinions interesting git +{INFO} +
+
+{CONTENT} +
+


source
+
page generated {TIME} using sitegenerator
+ + + -- cgit v1.2.3