Reindent slideshow.html

This commit is contained in:
kez 2022-07-26 09:43:59 -07:00
parent d67589fc90
commit 8cfb1213f4

View File

@ -1,44 +1,44 @@
{% from 'util.jinja2' import render_markdown %} {% from 'util.jinja2' import render_markdown %}
<!doctype html> <!doctype html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>{{ _("Tor Project") }} | {% block title %}{{ this.title }}{% endblock %}</title> <title>{{ _("Tor Project") }} | {% block title %}{{ this.title }}{% endblock %}</title>
<meta name="description" content="{{ _('Tor Project') }} | {{ this.description }}"> <meta name="description" content="{{ _('Tor Project') }} | {{ this.description }}">
<meta name="author" content="{{ this.author }}"> <meta name="author" content="{{ this.author }}">
<meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"> <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="{{ '/static/revealjs/dist/reset.css'|asseturl }}"> <link rel="stylesheet" href="{{ '/static/revealjs/dist/reset.css'|asseturl }}">
<link rel="stylesheet" href="{{ '/static/revealjs/dist/reveal.css'|asseturl }}"> <link rel="stylesheet" href="{{ '/static/revealjs/dist/reveal.css'|asseturl }}">
<link rel="stylesheet" href="{{ '/static/revealjs/dist/theme/tor.css'|asseturl }}" id="theme"> <link rel="stylesheet" href="{{ '/static/revealjs/dist/theme/tor.css'|asseturl }}" id="theme">
<link rel="stylesheet" href="{{ '/static/revealjs/plugin/highlight/monokai.css'|asseturl }}" id="highlight-theme"> <link rel="stylesheet" href="{{ '/static/revealjs/plugin/highlight/monokai.css'|asseturl }}" id="highlight-theme">
</head> </head>
<body> <body>
<div class="reveal"> <div class="reveal">
<!-- Any section element inside of this container is displayed as a slide --> <!-- Any section element inside of this container is displayed as a slide -->
<div class="slides {{ bag('alternatives', this.alt, 'order') }}"> <div class="slides {{ bag('alternatives', this.alt, 'order') }}">
<section> <section>
<section class="title" data-background-color="#683086" data-background-image="{{ this.image|asseturl }}" data-background-position="right bottom" data-background-size="3em"> <section class="title" data-background-color="#683086" data-background-image="{{ this.image|asseturl }}" data-background-position="right bottom" data-background-size="3em">
<h3>{{ render_markdown(this.title) }}</h3> <h3>{{ render_markdown(this.title) }}</h3>
<hr /> <hr />
{% if this.subtitle %} {% if this.subtitle %}
<h4>{{ render_markdown(this.subtitle) }}</h4> <h4>{{ render_markdown(this.subtitle) }}</h4>
{% endif %} {% endif %}
<p>{{ this.author }}</p> <p>{{ this.author }}</p>
</section> </section>
{{ this.slides }} {{ this.slides }}
<div class="footer"> <div class="footer">
<div class="left"> <div class="left">
<a href="https://torproject.org">torproject.org</a> <a href="https://torproject.org">torproject.org</a>
</div> </div>
<div class="right"> <div class="right">
<img src="{{ '/static/images/tor-logo/White.png'|asseturl }}"> <img src="{{ '/static/images/tor-logo/White.png'|asseturl }}">
</div> </div>
</div> </div>
</section> </section>
</div> </div>
</div> </div>
@ -50,20 +50,20 @@
<script src="{{ '/static/revealjs/plugin/markdown/markdown.js'|asseturl }}"></script> <script src="{{ '/static/revealjs/plugin/markdown/markdown.js'|asseturl }}"></script>
<script src="{{ '/static/revealjs/plugin/highlight/highlight.js'|asseturl }}"></script> <script src="{{ '/static/revealjs/plugin/highlight/highlight.js'|asseturl }}"></script>
<script> <script>
// Also available as an ES module, see: // Also available as an ES module, see:
// https://revealjs.com/initialization/ // https://revealjs.com/initialization/
Reveal.initialize({ Reveal.initialize({
controls: true, controls: true,
progress: true, progress: true,
center: true, center: true,
hash: true, hash: true,
// Learn about plugins: https://revealjs.com/plugins/ // Learn about plugins: https://revealjs.com/plugins/
plugins: [ RevealZoom, RevealNotes, RevealSearch, RevealMarkdown, RevealHighlight ] plugins: [ RevealZoom, RevealNotes, RevealSearch, RevealMarkdown, RevealHighlight ]
}); });
</script> </script>
</body> </body>
</html> </html>