index_apache_template

This commit is contained in:
gauthiier 2018-12-13 11:00:10 +01:00
parent 2f6fe4f8cc
commit 952b3f7586
6 changed files with 16 additions and 6 deletions

BIN
+++/back.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 216 B

1
.gitignore vendored
View File

@ -5,3 +5,4 @@
+++/bb15.png
+++/533201N0032129W_from_the_Sea_poster.png
+++/key.asc
+++/index.html

5
gen.py
View File

@ -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();

View File

@ -1,16 +1,18 @@
<html>
<head>
<meta charset="utf-8">
<link rel="icon" href="../+++/jules-henri.ico" type="image/x-icon">
<title>Index of /gauthiier.info/[[dir]]</title>
<link rel="stylesheet" type="text/css" href="../+++/lestyle.css"/>
<meta name="keywords" content="david gauthier, gauthiier, davidgauthier, dviid">
</head>
<body>
<div id="index_tile"><h1>Index of /gauthiier.info/[[dir]]</h1></div>
<ul>
<li><a href=".."> Parent Directory</a></li>
<!--[[info]]-->
</ul>
<div style=" margin-left: 20px;">
<a href=".."><img src="../+++/back.gif"></a>
<a href=".." style=" margin-left: 5px;"> Parent Directory</a>
</div>
<div class="lst">
<ul>
[[content]]

View File

@ -2,7 +2,7 @@
<head>
<meta charset="utf-8">
<meta name="keywords" content="david gauthier, gauthiier, davidgauthier, dviid">
<meta name="description" content="David Gauthier (b.1979, CA) - selected index of work.">
<meta name="description" content="David Gauthier (b.1979, CA) - selected index of works">
<link rel="icon" href="+++/jules-henri.ico" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="+++/lestyle.css"/>
<link rel="pgpkey" href="+++/key.asc"/>

2
robots.txt Normal file
View File

@ -0,0 +1,2 @@
User-agent: *
Disallow: /+++/