Files
website-v2/templates/markdown_template.html
Greg Newman 2487c62d28 🚧 Markdown renderer
* Stubbed out TemplateView for rendering markdown files
* Added a BoostRenderer class to parse the markdown files to support the first iteration of a youtube shortcode and also a Pygments renderer for code blocks.
* Added default styles for some common markup so the rendered markdown looks better.

The pygments renderer is set to use Solarized Dark right now because that’s the closest I see that matches the design of the site.  This can be changed in the class.
2022-09-10 11:07:42 -04:00

19 lines
447 B
HTML

{% extends "base.html" %}
{% load static %}
{% block title %}{{ frontmatter.title }}{% endblock %}
{% block description %}{{ frontmatter.description }}{% endblock %}
{% block keywords %}{{ frontmatter.keywords }}{% endblock %}
{% block author %}{{ frontmatter.author }}{% endblock %}
{% block content %}
<div class="py-0 md:py-6 mb-3 px-3 md:px-0">
<div class="mb-6 md:mb-0">
{{ content|safe }}
</div>
</div>
{% endblock %}