From 952b3f7586a26ecc2c6fd0419e4a4aca67746951 Mon Sep 17 00:00:00 2001 From: gauthiier Date: Thu, 13 Dec 2018 11:00:10 +0100 Subject: [PATCH] index_apache_template --- +++/back.gif | Bin 0 -> 216 bytes .gitignore | 1 + gen.py | 5 +++++ index_apache_template.html | 12 +++++++----- index_template.html | 2 +- robots.txt | 2 ++ 6 files changed, 16 insertions(+), 6 deletions(-) create mode 100644 +++/back.gif create mode 100644 robots.txt diff --git a/+++/back.gif b/+++/back.gif new file mode 100644 index 0000000000000000000000000000000000000000..a694ae1ec3f0636cddbf195dd151abff150af69f GIT binary patch literal 216 zcmZ?wbhEHb6k!l!IK;s4|Ns9p|NqaNIWsLS&DhwO0R|NR`GsU;7Aqtcl_&tI%shpX zj8uh!(xjZsWQCOc+{Da0Jq7R7GN6P8 zTBKlTX=%!!_>+Z^fq{`h2V@1vb_Ql|iCuU8DGPkc5-<+lz3AMXubFeq{lvP)Ggp6^Q($uOC~PM5!3Knu5hd8zzVA-2Z^g;lkQyz{qtht`EC{l FYXAcbPG|rC literal 0 HcmV?d00001 diff --git a/.gitignore b/.gitignore index 6321096..17a0c50 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ +++/bb15.png +++/533201N0032129W_from_the_Sea_poster.png +++/key.asc ++++/index.html diff --git a/gen.py b/gen.py index cf3b81b..bff2340 100644 --- a/gen.py +++ b/gen.py @@ -268,6 +268,11 @@ if __name__ == '__main__': except IOError as err: print err; + # robots.txt? + robots_in = os.path.join('.', 'robots.txt') + if os.path.isfile(indx_txt): + shutil.copy(robots_in, output_dir) + template.close(); content_indx_template.close(); out.close(); diff --git a/index_apache_template.html b/index_apache_template.html index 3fa794c..20d984d 100644 --- a/index_apache_template.html +++ b/index_apache_template.html @@ -1,16 +1,18 @@ + Index of /gauthiier.info/[[dir]]

Index of /gauthiier.info/[[dir]]

- +
+ + Parent Directory +
+
    [[content]] @@ -19,4 +21,4 @@
    Apache Server at gauthiier.info Port 80
    - \ No newline at end of file + diff --git a/index_template.html b/index_template.html index d59d8d5..73a02e6 100644 --- a/index_template.html +++ b/index_template.html @@ -2,7 +2,7 @@ - + diff --git a/robots.txt b/robots.txt new file mode 100644 index 0000000..134b4d5 --- /dev/null +++ b/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: /+++/ \ No newline at end of file