diff options
author | Frederick Yin <fkfd@macaw.me> | 2020-04-23 19:56:10 +0800 |
---|---|---|
committer | Frederick Yin <fkfd@macaw.me> | 2020-04-23 19:56:10 +0800 |
commit | b8b525b213e6256513dce8ef20aa82889b4a63c2 (patch) | |
tree | 90af8a6c24329ae0396d25d0df0f2fefb21b6e52 /alabaster-lite/main.html |
Initial commit
Custom alabaster theme
3 blogposts and 2 metaposts
Deployment script
Diffstat (limited to 'alabaster-lite/main.html')
-rw-r--r-- | alabaster-lite/main.html | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/alabaster-lite/main.html b/alabaster-lite/main.html new file mode 100644 index 0000000..c503f46 --- /dev/null +++ b/alabaster-lite/main.html @@ -0,0 +1,63 @@ +{% from "config.html" import theme with context %} +<!DOCTYPE html> +<html> +<head> + {% block head %} + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + + <title>{% if page.title %}{{ page.title }} — {% endif %}{{ config.site_name }}</title> + + <link rel="stylesheet" href="{{ base_url }}/css/alabaster.css" type="text/css"> + + {% for path in extra_css %} + <link href="{{ path }}" rel="stylesheet"> + {% endfor %} + + <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9"> + + {% block extrahead %}{% endblock %} + {% endblock %} +</head> +<body> + + <div class="document"> + <div class="documentwrapper"> + <div class="bodywrapper"> + <div class="body" role="main"> + {% block content %} + {{ page.content }} + {% if page.is_homepage and theme.homepage_nav %} + {% include "inc/homepage_nav.html" %} + {% endif %} + {% endblock %} + </div> + </div> + </div> + <div class="sphinxsidebar" role="navigation" aria-label="main navigation"> + <div class="sphinxsidebarwrapper"> + {% if page.is_homepage %} + {% for sidebar in theme.homepage_sidebars %} + {% include "sidebars/%s.html" % sidebar %} + {% endfor %} + {% else %} + {% for sidebar in theme.sidebars %} + {% include "sidebars/%s.html" % sidebar %} + {% endfor %} + {% endif %} + </div> + </div> + <div class="clearer"></div> + </div> + + {% block footer %} + <div class="footer"> + CC BY-NC 4.0 | feedback >> fkfd@macaw.me + </div> + {% endblock %} + + <!-- + MkDocs version : {{ mkdocs_version }} + Docs Build Date UTC : {{ build_date_utc }} + --> +</body> +</html> |