40 lines
		
	
	
	
		
			1.3 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
	
		
			1.3 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| {% extends 'base.html' %}
 | |
| {% block body %}
 | |
| {% from 'utils.html' import urlcat, root with context %}
 | |
| <h1 id="title"><a href="{{ root() }}">DL</a> > {{ title }}</h1>
 | |
| <div class="work-container">
 | |
|   <div class="work-preview">
 | |
|     <a href="view/">
 | |
|       <img src="{{ root() }}thumbnails/{{ work['id'] }}.jpg">
 | |
|     </a>
 | |
|   </div>
 | |
|   <div class="work-info">
 | |
|     <table>
 | |
|       {% if work['circle'] %}
 | |
|       <tr>
 | |
|         <th>Circle</th>
 | |
|         <td><a class="work-info-link" href="{{ root() }}circles/{{ urlcat(work['circle']) }}">{{ work['circle'] }}</a></td>
 | |
|       </tr>
 | |
|       {% endif %}
 | |
|       {% if work['authors'] %}
 | |
|       <tr>
 | |
|         <th>Authors</th>
 | |
|         <td>{% for author in work['authors'] %}<a class="work-info-link" href="{{ root() }}authors/{{ urlcat(author) }}">{{ author }}</a> {% endfor %}</td>
 | |
|       </tr>
 | |
|       {% endif %}
 | |
|       {% if work['tags'] %}
 | |
|       <tr>
 | |
|         <th>Tags</th>
 | |
|         <td>{% for tag in work['tags'] %}<a class="work-info-link" href="{{ root() }}tags/{{ urlcat(tag) }}">{{ tag }}</a> {% endfor %}</td>
 | |
|       </tr>
 | |
|       {% endif %}
 | |
|       {% if work['series'] %}
 | |
|       <tr>
 | |
|         <th>Series</th>
 | |
|         <td><a class="work-info-link" href="{{ root() }}series/{{ urlcat(work['series']) }}">{{ work['series'] }}</a></td>
 | |
|       </tr>
 | |
|       {% endif %}
 | |
|     </table>
 | |
|   </div>
 | |
| </div>
 | |
| {% endblock %}
 |