Make dialog buttons a <div> instead of <p>, render Markdown in blog and post descriptions
This commit is contained in:
@ -318,10 +318,10 @@ You know what? I'm gonna say some <mark>very important</mark> stuff, so <mark>im
|
|||||||
## Buttons
|
## Buttons
|
||||||
|
|
||||||
```html.j2
|
```html.j2
|
||||||
<p class="dialog-buttons">
|
<div class="dialog-buttons">
|
||||||
<a class="inline-button" href="#top">Go to top</a>
|
<a class="inline-button" href="#top">Go to top</a>
|
||||||
<a href="{{site.issuesurl}}">File an issue</a>
|
<a href="{{site.issuesurl}}">File an issue</a>
|
||||||
</p>
|
</div>
|
||||||
```
|
```
|
||||||
|
|
||||||
> Look at the end of this page xD
|
> Look at the end of this page xD
|
||||||
|
@ -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>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>
|
<a onclick="window.history.go(-1)" class="inline-button">Go Back</a>
|
||||||
{% if config.extra.issues_url %}
|
{% if config.extra.issues_url %}
|
||||||
<a class="inline-button colored" href="{{ config.extra.issues_url }}">File an Issue</a>
|
<a class="inline-button colored" href="{{ config.extra.issues_url }}">File an Issue</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</p>
|
</div>
|
||||||
{% endblock content %}
|
{% endblock content %}
|
||||||
|
@ -103,10 +103,10 @@
|
|||||||
</nav>
|
</nav>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<p class="dialog-buttons">
|
<div class="dialog-buttons">
|
||||||
<a class="inline-button" href="#top">Go to Top</a>
|
<a class="inline-button" href="#top">Go to Top</a>
|
||||||
{% if config.extra.issues_url %}
|
{% if config.extra.issues_url %}
|
||||||
<a class="inline-button colored" href="{{ config.extra.issues_url }}">File an Issue</a>
|
<a class="inline-button colored" href="{{ config.extra.issues_url }}">File an Issue</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</p>
|
</div>
|
||||||
{% endblock content %}
|
{% endblock content %}
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
{% block content %}
|
{% block content %}
|
||||||
<h1>{{ section.title }}</h1>
|
<h1>{{ section.title }}</h1>
|
||||||
|
|
||||||
<p>{{ section.description }}</p>
|
{{ section.description | markdown | safe }}
|
||||||
|
|
||||||
<small>
|
<small>
|
||||||
<a class="link-page" href="{{ get_url(path='tags') }}">Filter by tag</a>
|
<a class="link-page" href="{{ get_url(path='tags') }}">Filter by tag</a>
|
||||||
@ -28,7 +28,7 @@
|
|||||||
</span>
|
</span>
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- if page.description %}
|
{%- if page.description %}
|
||||||
<p>{{ page.description }}</p>
|
{{ page.description | markdown | safe }}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- if page.date %}
|
{%- if page.date %}
|
||||||
<small>
|
<small>
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
{% include "partials/head.html" ignore missing -%}
|
{% include "partials/head.html" -%}
|
||||||
<body>
|
<body>
|
||||||
{% include "partials/nav.html" ignore missing -%}
|
{% include "partials/nav.html" -%}
|
||||||
<div id="main" class="container">
|
<div id="main" class="container">
|
||||||
{% block custom %}{%- endblock -%}
|
{% block custom %}{%- endblock -%}
|
||||||
{% block content %}{%- endblock -%}
|
{% block content %}{%- endblock -%}
|
||||||
</div>
|
</div>
|
||||||
{% include "partials/footer.html" ignore missing -%}
|
{% include "partials/footer.html" -%}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Reference in New Issue
Block a user