Make dialog buttons a <div> instead of <p>, render Markdown in blog and post descriptions
This commit is contained in:
@ -10,10 +10,10 @@
|
||||
|
||||
<p>The requested page could not be found.{% if config.extra.issues_url %} If you feel this is not normal, then you can create an issue on the issue tracker.{% endif %}</p>
|
||||
|
||||
<p class="dialog-buttons">
|
||||
<div class="dialog-buttons">
|
||||
<a onclick="window.history.go(-1)" class="inline-button">Go Back</a>
|
||||
{% if config.extra.issues_url %}
|
||||
<a class="inline-button colored" href="{{ config.extra.issues_url }}">File an Issue</a>
|
||||
{% endif %}
|
||||
</p>
|
||||
</div>
|
||||
{% endblock content %}
|
||||
|
@ -103,10 +103,10 @@
|
||||
</nav>
|
||||
{% endif %}
|
||||
|
||||
<p class="dialog-buttons">
|
||||
<div class="dialog-buttons">
|
||||
<a class="inline-button" href="#top">Go to Top</a>
|
||||
{% if config.extra.issues_url %}
|
||||
<a class="inline-button colored" href="{{ config.extra.issues_url }}">File an Issue</a>
|
||||
{% endif %}
|
||||
</p>
|
||||
</div>
|
||||
{% endblock content %}
|
||||
|
@ -3,7 +3,7 @@
|
||||
{% block content %}
|
||||
<h1>{{ section.title }}</h1>
|
||||
|
||||
<p>{{ section.description }}</p>
|
||||
{{ section.description | markdown | safe }}
|
||||
|
||||
<small>
|
||||
<a class="link-page" href="{{ get_url(path='tags') }}">Filter by tag</a>
|
||||
@ -28,7 +28,7 @@
|
||||
</span>
|
||||
{%- endif %}
|
||||
{%- if page.description %}
|
||||
<p>{{ page.description }}</p>
|
||||
{{ page.description | markdown | safe }}
|
||||
{%- endif %}
|
||||
{%- if page.date %}
|
||||
<small>
|
||||
|
@ -1,12 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
{% include "partials/head.html" ignore missing -%}
|
||||
{% include "partials/head.html" -%}
|
||||
<body>
|
||||
{% include "partials/nav.html" ignore missing -%}
|
||||
{% include "partials/nav.html" -%}
|
||||
<div id="main" class="container">
|
||||
{% block custom %}{%- endblock -%}
|
||||
{% block content %}{%- endblock -%}
|
||||
</div>
|
||||
{% include "partials/footer.html" ignore missing -%}
|
||||
{% include "partials/footer.html" -%}
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user