mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-01-23 09:50:39 +00:00
fa5ce187f0
* Import typekit fonts as link * Declare pageStyles block in base template * Uninstall prism-themes package
21 lines
642 B
Plaintext
21 lines
642 B
Plaintext
{% extends 'layouts/base.njk' %}
|
|
{% set pageType = 'Page' %}
|
|
{% set titleWithPath = title + ' « Documentation « ' %}
|
|
{% block pageStyles %}
|
|
{# Code highlighting #}
|
|
<link rel="stylesheet" href="https://unpkg.com/prism-themes@^1.3/themes/prism-a11y-dark.css"/>
|
|
{% endblock %}
|
|
{% block content %}
|
|
<div class="article-content">
|
|
{% include 'components/sub-page-header.njk' %}
|
|
<main class="page">
|
|
{%- if parent -%}
|
|
<div>
|
|
<a href={{ parent.href }}>{{ parent.title }}</a>
|
|
</div>
|
|
{% endif %}
|
|
<h1 class="title__thicc" >{{ title }}</h1>
|
|
{{ content | safe }}
|
|
</main>
|
|
{% endblock %}
|