summaryrefslogtreecommitdiff
path: root/design/templates
diff options
context:
space:
mode:
Diffstat (limited to 'design/templates')
-rw-r--r--design/templates/archives/resume-pubs.html6
-rw-r--r--design/templates/base.html15
-rw-r--r--design/templates/details/resume.html14
3 files changed, 24 insertions, 11 deletions
diff --git a/design/templates/archives/resume-pubs.html b/design/templates/archives/resume-pubs.html
index 19c572a..332a812 100644
--- a/design/templates/archives/resume-pubs.html
+++ b/design/templates/archives/resume-pubs.html
@@ -4,7 +4,7 @@
{% load pagination_tags %}
{% block pagetitle %} Publications | Resume{% endblock %}
{% block metadescription %} {% endblock %}
-{%block bodyid%}class="resume" id="publications-archive"{%endblock%}
+{%block bodyid%}class="archive resume" id="publications-archive"{%endblock%}
{% block primary %}
<ul class="bl" id="breadcrumbs" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
@@ -12,13 +12,13 @@
<li><a href="/resume/">Resume</a> &rarr; </li>
<li>Publications</li>
</ul>
- <main role="main">
+ <main>
<h1 class="hide">Publications</h1>
<h6>By Publication</h6>
<nav class="toc"><ul>{% for publisher in pub_list %}
<li><a href="#{{publisher.name|slugify}}">{{publisher.name}}</a></li>{%endfor%}
</ul></nav>
- <ul class="publications-list">{% regroup object_list|dictsort:"publisher_id" by publisher.name as pub_list %}{% for pub in pub_list %}
+ <ul class="archive publications-list">{% regroup object_list|dictsort:"publisher_id" by publisher.name as pub_list %}{% for pub in pub_list %}
<li>
<h2 id="{{pub.grouper|slugify}}">{{ pub.grouper }}</h2>
<ul>{% for object in pub.list %}{% if forloop.counter < 8 %}
diff --git a/design/templates/base.html b/design/templates/base.html
index 14101f0..cd8a1c5 100644
--- a/design/templates/base.html
+++ b/design/templates/base.html
@@ -49,8 +49,19 @@
{% block primary %}{% endblock %}
{% block extrabody %}{% endblock %}
<footer role="contentinfo">
- Support luxagraf: <script src="https://liberapay.com/luxagraf/widgets/button.js"></script>
- <noscript><a href="https://liberapay.com/luxagraf/donate"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a></noscript>
+ <div class="support">Support luxagraf:
+ <div class="donate-btn">
+ <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
+ <input type="hidden" name="cmd" value="_s-xclick">
+ <input type="hidden" name="hosted_button_id" value="HYJFZQSBGJ8QQ">
+ <input type="submit" name="submit" alt="Donate to luxagraf via PayPal">
+ </form>
+ </div>
+ <div class="donate-btn">
+ <script src="https://liberapay.com/luxagraf/widgets/button.js"></script>
+ <noscript><a href="https://liberapay.com/luxagraf/donate"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a></noscript>
+ </div>
+ </div>
<nav class="bl">
<ul>
<li><a href="/blogroll" title="Sites that inspire us">Blogroll</a></li>
diff --git a/design/templates/details/resume.html b/design/templates/details/resume.html
index 5c47b2c..ff16bbe 100644
--- a/design/templates/details/resume.html
+++ b/design/templates/details/resume.html
@@ -4,16 +4,18 @@
{% block pagetitle %}{% endblock %}
{% block metadescription %}{% endblock %}
+{%block htmlclass%}class="detail{%endblock%}
{% block primary %}<ul class="bl" id="breadcrumbs" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
<li><a href="/" title="luxagraf homepage" itemprop="url"><span itemprop="title">Home</span></a> &rarr; </li>
- <li>Resume</li>
+ <li><a href="/resume">Resume</a>{% if object.title != "Resume" %} &rarr; {%endif%}</li>
+ {% if object.title != "Resume" %}<li><a href="/resume/pubs/">Publications</a></li>{%endif%}
</ul>
- <main role="main">
- <article role="main">
- <h1>{{object.title|safe|smartypants|widont}}</h1>
- <p><i>This article was published in {{object.publisher}}, you can view <a href="{{object.url}}">the original</a> there, complete with graphics, comments and other fun stuff.</i></p>
- <div class="post--article" style="margin-top: 3em">
+ <main>
+ <article>
+ {% if object.title != "Resume" %}<h1 class="post-header">{{object.title|safe|smartypants|widont}}</h1>{% endif %}
+ {% if object.publisher %}<p><i>This article was published in {{object.publisher}}, you can view <a href="{{object.url}}">the original</a> there, complete with graphics, comments and other fun stuff.</i></p>{% endif %}
+ <div class="post-article" style="margin-top: 3em">
{{object.body_html|safe|smartypants|widont}}
</div>
</article>