From 0b1d5d954d304c4e84c0577457217492034a9daf Mon Sep 17 00:00:00 2001 From: daniel-Jones Date: Tue, 12 Dec 2017 01:47:36 +1030 Subject: added .htaccess fileand copy it in setup.sh, changed template links to not directly link to my site, woops. --- htaccess.txt | 8 ++++++++ setup.sh | 4 +++- template.txt | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 htaccess.txt diff --git a/htaccess.txt b/htaccess.txt new file mode 100644 index 0000000..49ba89a --- /dev/null +++ b/htaccess.txt @@ -0,0 +1,8 @@ +Options +SymLinksIfOwnerMatch +Order Allow,Deny +Allow from all +RewriteEngine On +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule ^([A-Za-z0-9-]+)/?$ $1.html [NC,QSA] +DirectoryIndex 1.html diff --git a/setup.sh b/setup.sh index f74555b..e6efccc 100755 --- a/setup.sh +++ b/setup.sh @@ -23,4 +23,6 @@ echo "

Second blog post title

11/23/3333

blog content here! echo "

Nico Yazawa

Nico Yazawa

Nico's better-than-you nature and awesome idol skill makes her the perfect number one waifu. Seriously, she has it all, great looks, flat-as-a-pancake physique and the bestest catchphrase ever." > content/waifus/index.txt #make content/viewings/index.txt echo "
k-on! cover

K-On!

K-On I believe was the first anime I had ever watched while not a little kid (those were cartoons, but some technically anime) and definitely was a big part in introducing me to the 'cute girls doing cute things' genre, which to this day is my most viewed and enjoyed.

The story revolves around four (later five) girls entering highschool and selecting to join the 'light music' club, that members of that club had all graduated the prior year, so they were entirely on their own. They were to eventually form a band, write and create songs that they performed at various venues. However, really it's all about the girls eating snacks and having whacky fun.

The OP of K-On! is one I think I will never skip, it's so energetic and fun, definitely worth a watch if you haven't seen it. The ED wasn't anything spectacular music wise, but the art was great.
" > content/viewings/index.txt - +#copy .htaccess files +cp htaccess.txt output/blog/.htaccess +cp htaccess.txt output/blog/direct/.htaccess diff --git a/template.txt b/template.txt index 26bf722..fbb9ad3 100644 --- a/template.txt +++ b/template.txt @@ -23,7 +23,7 @@ div.cover{display:inline-block; vertical-align: top; padding-top: 28px; padding-

danieljon.es

free of Javascript, minimal CSS.

-index blog portfolio

+index blog portfolio

reddit steam github -- cgit v1.2.3