mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-08-06 22:33:08 +02:00
Add templates
This commit is contained in:
11
website/templates/page.html
Normal file
11
website/templates/page.html
Normal file
@ -0,0 +1,11 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% import "macros.html" as macros %}
|
||||
|
||||
{% block content %}
|
||||
<article>
|
||||
<h1>{{ page.title }}</h1>
|
||||
|
||||
{{ page.content | replace(from="<!-- toc -->", to=macros::toc() ) | safe }}
|
||||
</article>
|
||||
{% endblock %}
|
Reference in New Issue
Block a user