forked from SymbiFlow/sphinx_symbiflow_theme-old
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Show underline when hovering over links * Change foreground color to have stronger contrast as per SymbiFlow#7 * Remove extraneous padding and nicely align left side with right side of footer * Add link to LICENSE in GitHub repo Signed-off-by: Daniel Lim Wee Soong <[email protected]>
- Loading branch information
1 parent
7156e43
commit c075b94
Showing
5 changed files
with
63 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,49 @@ | ||
<footer class="mdl-mini-footer"> | ||
<div class="mdl-mini-footer__left-section"> | ||
<div class="mdl-logo">{{ project }}</div> | ||
{% if not theme_hide_symbiflow_links|tobool %} | ||
<div> | ||
<ul> | ||
<li> | ||
<a href="https://symbiflow.github.io/" target="_blank">SymbiFlow</a> | ||
</li> | ||
<li> | ||
<a href="https://lists.librecores.org/listinfo/symbiflow" target="_blank">Mailing List</a> | ||
</li> | ||
<li> | ||
<a href="https://webchat.freenode.net/#symbiflow" target="_blank">IRC</a> | ||
</li> | ||
<li> | ||
<a href="https://join.slack.com/t/symbiflow/shared_invite/enQtNTkyMjcyNTkzOTY4LTU0MzhmYWNjOGMyMTkyNjA0MmEyMWM5OWY3ZDg5MWQ3ODlmOWQwZjk2YzBmMDBjMzkzMzNjYjkwYjAxZTMyNjQ">Slack</a> | ||
</li> | ||
</ul> | ||
</div> | ||
{%- endif %} | ||
<div class="mdl-mini-footer__left-section"> | ||
<div class="mdl-logo">{{ project }}</div> | ||
<div> | ||
<ul> | ||
{% if not theme_hide_symbiflow_links|tobool %} | ||
<li> | ||
<a href="https://symbiflow.github.io/" target="_blank">SymbiFlow</a> | ||
</li> | ||
<li> | ||
<a href="https://lists.librecores.org/listinfo/symbiflow" target="_blank">Mailing List</a> | ||
</li> | ||
<li> | ||
<a href="https://webchat.freenode.net/#symbiflow" target="_blank">IRC</a> | ||
</li> | ||
<li> | ||
<a href="https://join.slack.com/t/symbiflow/shared_invite/enQtNTkyMjcyNTkzOTY4LTU0MzhmYWNjOGMyMTkyNjA0MmEyMWM5OWY3ZDg5MWQ3ODlmOWQwZjk2YzBmMDBjMzkzMzNjYjkwYjAxZTMyNjQ" | ||
target="_blank">Slack</a> | ||
</li> | ||
{%- endif %} | ||
{%- if theme_license_url %} | ||
<li> | ||
<!-- <a href="https://github.com/SymbiFlow/sphinx_symbiflow_theme/blob/master/LICENSE" target="_blank"><img alt="License Badge" src="https://img.shields.io/github/license/SymbiFlow/symbiflow-arch-defs"/></a> --> | ||
<a href="{{ theme_license_url }}" target="_blank">License</a> | ||
</li> | ||
{%- endif %} | ||
</ul> | ||
</div> | ||
</div> | ||
|
||
<div class="mdl-mini-footer__right-section"> | ||
<div class="mdl-mini-footer__right-section"> | ||
{%- if show_copyright %} | ||
{%- if hasdoc('copyright') %} | ||
<div>{% trans path=pathto('copyright'), copyright=copyright|e %}© <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}</div> | ||
{%- else %} | ||
<div>{% trans copyright=copyright|e %}© Copyright {{ copyright }}.{% endtrans %}</div> | ||
{%- endif %} | ||
{%- if hasdoc('copyright') %} | ||
<div>{% trans path=pathto('copyright'), copyright=copyright|e %}© <a href="{{ path }}">Copyright</a> | ||
{{ copyright }}.{% endtrans %}</div> | ||
{%- else %} | ||
<div>{% trans copyright=copyright|e %}© Copyright {{ copyright }}.{% endtrans %}</div> | ||
{%- endif %} | ||
{%- endif %} | ||
{%- if last_updated %} | ||
<div>{% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %}</div> | ||
<div>{% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %}</div> | ||
{%- endif %} | ||
{%- if show_sphinx %} | ||
<div>{% trans sphinx_version=sphinx_version|e %}Generated by <a href="http://sphinx.pocoo.org/">Sphinx</a> {{ sphinx_version }} using <a href="https://github.com/SymbiFlow/sphinx_symbiflow_theme">sphinx_symbiflow_theme</a>.{% endtrans %}</div> | ||
<div>{% trans sphinx_version=sphinx_version|e %}Generated by <a href="http://sphinx.pocoo.org/">Sphinx</a> | ||
{{ sphinx_version }} using <a | ||
href="https://github.com/SymbiFlow/sphinx_symbiflow_theme">sphinx_symbiflow_theme</a>.{% endtrans %}</div> | ||
{%- endif %} | ||
</div> | ||
</div> | ||
</footer> |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,3 +21,4 @@ show_drawer_title = True | |
show_footer = True | ||
|
||
hide_symbiflow_links = False | ||
license_url = |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters