Remove Table of Contents conditionals
This commit is contained in:
parent
c75815db29
commit
cd68f5fb5f
|
@ -20,9 +20,6 @@
|
|||
|
||||
{# CSS #}
|
||||
<link rel="stylesheet" href="{{'/assets/css/main.css' | url | safe}}">
|
||||
{% if toc %}
|
||||
<link rel="stylesheet" href="{{'/assets/css/toc.css' | url | safe}}">
|
||||
{% endif %}
|
||||
{% if sitemap %}
|
||||
<link rel="stylesheet" href="{{'/assets/css/sitemap.css' | url | safe}}">
|
||||
{% endif %}
|
||||
|
@ -36,9 +33,6 @@
|
|||
<link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon/favicon-16x16.png">
|
||||
<link rel="manifest" href="/assets/favicon/site.webmanifest">
|
||||
|
||||
{# JavaScript #}
|
||||
{% if toc %} <script src="/assets/js/toc.js" defer></script> {% endif %}
|
||||
|
||||
<title>{{ title }} | Leilukin's Hub</title>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -49,11 +43,9 @@
|
|||
<navbar></navbar>
|
||||
{% endrenderTemplate %}
|
||||
<main>
|
||||
{% if toc %}
|
||||
<aside class="left-sidebar">
|
||||
{{ content | toc | safe }}
|
||||
</aside>
|
||||
{% endif %}
|
||||
<!-- <aside class="left-sidebar">
|
||||
Left sidebar content here
|
||||
</aside> -->
|
||||
{{ content | safe }}
|
||||
<!-- <aside class="right-sidebar">
|
||||
Right sidebar content here
|
||||
|
|
Loading…
Reference in New Issue