mirror of
https://github.com/alvierahman90/gronk.git
synced 2024-12-23 04:21:58 +00:00
45 lines
1.4 KiB
HTML
45 lines
1.4 KiB
HTML
<head>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
|
<meta charset="utf-8">
|
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Open+Sans&display=swap" />
|
|
<link rel="stylesheet" type="text/css" href="/css/styles.css" />
|
|
<title>{{ title }}</title>
|
|
</head>
|
|
|
|
<body>
|
|
<div id="content">
|
|
<h1>{{ title }}</h1>
|
|
|
|
{% if not content_after_search %}
|
|
{{ content }}
|
|
{% endif %}
|
|
|
|
{% if automatic_index %}
|
|
{% if search_bar %}
|
|
<div id="searchWrapper">
|
|
<input id="search" placeholder="search" autocomplete="off" autofocus>
|
|
</div>
|
|
<p class="searchSmallText" style="margin-top: 0; text-align: center">
|
|
Press (<kbd>Shift</kbd>+)<kbd>Enter</kbd> to open first result (in new tab)
|
|
</p>
|
|
{% endif %}
|
|
|
|
<ul id="searchResults" class="buttonlist">
|
|
<li class="article"><a href=".."><p>../</p></a></li>
|
|
{% for entry in index_entries %}
|
|
<li class="article"><a href="{{ entry['path'] }}"><p>{{ entry['title'] }}{% if entry['is_dir'] %}/{% endif %}</p></a></li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
|
|
{% if content_after_search %}
|
|
{{ content }}
|
|
{% endif %}
|
|
<p style="font-size: 0.7em;"> page generated by <a href="https://github.com/alvierahman90/notes2web">notes2web</a></p>
|
|
</div>
|
|
<script src="/js/fuse.js"> </script>
|
|
<script> const search_data = {{ index_entries }} </script>
|
|
<script src="/js/indexsearch.js"> </script>
|
|
</body>
|
|
|