Add publications template
This commit is contained in:
parent
1b845a3db7
commit
b4b302c207
2 changed files with 43 additions and 24 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -57,3 +57,7 @@ venv
|
|||
|
||||
# NPM
|
||||
node_modules
|
||||
|
||||
# Vim
|
||||
*~
|
||||
*.swp
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
{% extends "base.html" %}
|
||||
{% block title %}Publications{% endblock %}
|
||||
{% block content %}
|
||||
|
||||
<script type="text/javascript">
|
||||
function disp(s) {
|
||||
{% block title %} – Publications{% endblock %}
|
||||
|
||||
{% block meta %}
|
||||
{{ super() }}
|
||||
<script type="text/javascript">
|
||||
function disp(s) {
|
||||
var win;
|
||||
var doc;
|
||||
win = window.open("", "WINDOWID");
|
||||
|
@ -12,9 +14,19 @@ function disp(s) {
|
|||
doc.write("<pre>" + s + "</pre>");
|
||||
doc.close();
|
||||
}
|
||||
</script>
|
||||
<section id="content" class="body">
|
||||
<h1 class="entry-title">Publications</h1>
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<article class="single">
|
||||
<header>
|
||||
{% import 'partial/translations.html' as translations with context %}
|
||||
{{ translations.translations_for(publications) }}
|
||||
<h1 id="publications">Publications</h1>
|
||||
</header>
|
||||
<div>
|
||||
{% block before_content %}{% endblock %}
|
||||
<ul>
|
||||
{% for key, year, text, bibtex, pdf, slides, poster in publications %}
|
||||
<li id="{{ key }}">{{ text }}
|
||||
|
@ -25,5 +37,8 @@ function disp(s) {
|
|||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</section>
|
||||
{% block after_content %}{% endblock %}
|
||||
</div>
|
||||
</article>
|
||||
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in a new issue