Make dialog buttons a <div> instead of <p>, render Markdown in blog and post descriptions

This commit is contained in:
daudix
2024-06-15 02:58:51 +03:00
parent 18485c90c6
commit 7cfc1a9cd6
5 changed files with 11 additions and 11 deletions

View File

@ -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 %}

View File

@ -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 %}

View File

@ -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>

View File

@ -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>