This repository has been archived on 2024-01-02. You can view files and clone it, but cannot push or open issues or pull requests.
notes2web/templates/article.html

74 lines
2.1 KiB
HTML
Raw Normal View History

2021-04-30 20:55:13 +00:00
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
2021-04-30 20:55:13 +00:00
<meta charset="utf-8">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Open+Sans&display=swap" />
2024-01-02 18:22:15 +00:00
<link rel="stylesheet" type="text/css" href="/css/styles.css" />
2021-04-30 20:55:13 +00:00
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script>
MathJax = {
tex: {
tags: 'ams'
}
}
</script>
2021-04-30 20:55:13 +00:00
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
2024-01-02 18:22:15 +00:00
<title>{{ title }}</title>
2021-04-30 20:55:13 +00:00
</head>
2021-05-01 11:00:01 +00:00
<body>
<div id="contentWrapper">
<div id="content">
2024-01-02 18:22:15 +00:00
<p class="smallText metadata"> title: {{ title }} </p>
{% if lecture_slides %}
<p class="smallText metadata"> lecture_slides: [
2024-01-02 18:22:15 +00:00
{% for slide in lecture_slides %}
<a href="{{ slide }}">{{ slide }}</a>{% if loop.nextitem %},{% endif %}
{% endfor %}
]</p>
2024-01-02 18:22:15 +00:00
{% endif %}
{% if lecture_notes %}
<p class="smallText metadata"> lecture_notes: [
2024-01-02 18:22:15 +00:00
{% for note in lecture_notes %}
<a href="{{ note }}">{{ note }}</a>{% if loop.nextitem %},{% endif %}
{% endfor %}
]</p>
2024-01-02 18:22:15 +00:00
{% endif %}
{% if uuid %}
<p class="smallText metadata"> uuid: {{ uuid }} (<a href="/permalink?uuid={{ uuid }}">permalink</a>) </p>
{% endif %}
2023-02-06 13:41:23 +00:00
<p class="smallText metadata"> tags: [
2024-01-02 18:22:15 +00:00
{% for tag in tags %}
<a href="/.tags/{{ tag }}.html">{{ tag }}</a>{% if loop.nextitem %},{% endif %}
{% endfor %}
2023-02-06 13:00:28 +00:00
]</p>
2023-02-06 13:41:23 +00:00
<p class="smallText metadata">
2024-01-02 18:22:15 +00:00
{% if author is iterable %}
written by {{ author }}
{% else %}
written by {% for auth in author %}{{ auth }}{% if loop.nextitem %}, {% endif %}{% endfor %}
{% endif %}
2023-02-06 13:00:28 +00:00
</p>
2023-02-06 13:41:23 +00:00
<p class="smallText metadata">
2023-02-06 13:00:28 +00:00
syntax highlighting based on <a href="https://pygments.org/">Pygments'</a> default
colors
</p>
2023-02-06 13:41:23 +00:00
<p class="smallText metadata">
2023-02-06 13:00:28 +00:00
page generated by <a href="https://git.alv.cx/alvierahman90/notes2web">notes2web</a>
</p>
2024-01-02 18:22:15 +00:00
{% if license %}
<details id="license">
<summary class="smallText">
License
</summary>
2024-01-02 18:22:15 +00:00
<pre>{{ license }}</pre>
</details>
2024-01-02 18:22:15 +00:00
{% endif %}
{% block body %}
{{ content }}
{% endblock %}
</div>
</div>
2021-05-01 11:00:01 +00:00
</body>