add: hashtag to album page to go directly on the picture you clicked
This commit is contained in:
@ -9,7 +9,7 @@
|
||||
<h1>{{ album.name }}</h1>
|
||||
<div class="picture-container">
|
||||
{% for picture in album._pictures %}
|
||||
<a href="{{ picture.get_page().html.get_url() }}">
|
||||
<a href="{{ picture.get_page().html.get_url() }}#{{ picture.id }}">
|
||||
<img src="{{ picture.get_thumb().get_url() }}">
|
||||
</a>
|
||||
{% endfor %}
|
||||
|
@ -28,7 +28,7 @@
|
||||
{% endif %}
|
||||
<div class="picture-container">
|
||||
{% for picture in page._pictures %}
|
||||
<div class="picture-container-item">
|
||||
<div class="picture-container-item" id="{{ picture.id}}">
|
||||
<div class="picture">
|
||||
<a href="{{ picture.get_small().get_url() }}">
|
||||
<img src='{{ picture.get_small().get_url() }}'>
|
||||
@ -43,7 +43,7 @@
|
||||
<div class="albums_container">
|
||||
<h1>Albums:</h1>
|
||||
{% for album in picture.albums %}
|
||||
<a href="{{ album.path.get_url() }}" class="album_item">{{ album.name }}</a>
|
||||
<a href="{{ album.path.get_url() }}" class="album_item">{{ al }}</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
@ -52,7 +52,7 @@
|
||||
{% if page.get_raw().exist() %}
|
||||
<div class="download">
|
||||
<h1>Download</h1>
|
||||
<a href="{{ page.get_raw().get_url() }}">RAW</a>
|
||||
<a href="{{ page.get_raw() }}">RAW</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if page.get_exif() %}
|
||||
|
Reference in New Issue
Block a user