Skip to content

Commit b533e5d

Browse files
committed
Footer styles.
1 parent 1ca9843 commit b533e5d

2 files changed

Lines changed: 28 additions & 1 deletion

File tree

docs/agogo/layout.html

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,10 +208,25 @@ <h3 style="margin-top: 1.5em;">{{ _('Search') }}</h3>
208208
{{ accesskey(rellink[2]) }}>{{ rellink[3] }}</a>
209209
{%- if not loop.last %}{{ reldelim2 }}{% endif %}
210210
{%- endfor %}
211+
{%- if show_source and has_source and sourcename %}
212+
<br/>
213+
<a href="{{ pathto('_sources/' + sourcename, true)|e }}"
214+
rel="nofollow">{{ _('Show Source') }}</a>
215+
{%- endif %}
211216
</div>
212217

213218
<div class="right">
214-
219+
{%- if hasdoc('copyright') %}
220+
{% trans path=pathto('copyright'), copyright=copyright|e %}&copy; <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}
221+
{%- else %}
222+
{% trans copyright=copyright|e %}&copy; Copyright {{ copyright }}.{% endtrans %}
223+
{%- endif %}
224+
{%- if last_updated %}
225+
{% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %}
226+
{%- endif %}
227+
{%- if show_sphinx %}<br/>
228+
{% trans sphinx_version=sphinx_version|e %}Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> {{ sphinx_version }}.{% endtrans %}
229+
{%- endif %}
215230
</div>
216231
<div class="clearer"></div>
217232
</div>

docs/agogo/static/agogo.css_t

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,18 @@ div.footer-wrapper {
216216
min-height: 80px;
217217
}
218218

219+
div.footer, div.footer a {
220+
color: #888a85;
221+
}
222+
223+
div.footer .right {
224+
text-align: right;
225+
}
226+
227+
div.footer .left {
228+
text-transform: uppercase;
229+
}
230+
219231

220232
/* Styles copied form basic theme */
221233

0 commit comments

Comments
 (0)