cachebust, new hint
This commit is contained in:
parent
d6a94c5f17
commit
4376da7f4d
@ -110,7 +110,7 @@ def render_places():
|
||||
with open("md/" + placename + ".md", "r") as f:
|
||||
md = markdown(f.read())
|
||||
except FileNotFoundError:
|
||||
md = ""
|
||||
md = "<h1>No story (yet)</h1>"
|
||||
with open(working_path + "/index.html", "w") as f:
|
||||
f.write(template.render({
|
||||
"count": count,
|
||||
|
@ -63,6 +63,10 @@ h1, h3 {
|
||||
|
||||
/* in-album page */
|
||||
|
||||
.hint {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.locationDisplay {
|
||||
margin-top: 1em;
|
||||
border-left: 0.2em solid black;
|
||||
|
@ -6,7 +6,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>nebula's photoblog</title>
|
||||
<link rel="icon" href="favicon.ico" />
|
||||
<link rel="stylesheet" href="style.css" />
|
||||
<link rel="stylesheet" href="style.css?1" />
|
||||
</head>
|
||||
<body>
|
||||
<div class="mainHeader">
|
||||
|
@ -8,7 +8,7 @@
|
||||
<link rel="icon" href="../favicon.ico" />
|
||||
</head>
|
||||
<body>
|
||||
<link rel="stylesheet" href="../style.css" />
|
||||
<link rel="stylesheet" href="../style.css?1" />
|
||||
<div id="galleryContainer" class="galleryContainer">
|
||||
<div class="toolbar">
|
||||
<button onclick="prevImage()">Previous</button>
|
||||
@ -35,6 +35,7 @@
|
||||
{{ markdown }}
|
||||
</div>
|
||||
<h3 class="photoCount">{{ count }} photos</h3>
|
||||
<h4 class="hint">Click or tap on images to enlarge them. Arrow keys or swiping with a touch screen scrolls through photos.</h4>
|
||||
<div class="allphotos">
|
||||
{% for width, height, photo in photos %}
|
||||
<a id="{{ photo }}" class="previewLink" onclick="javascript:enlargeImage('{{ photo }}');return false;" href="{{ photo }}" target="_blank">
|
||||
|
Loading…
x
Reference in New Issue
Block a user