Skip to content
Snippets Groups Projects
Verified Commit f61467a7 authored by Isabella Skořepová's avatar Isabella Skořepová
Browse files

Remove theme from gitignore & add .html to imports

Also change extension from verbose nunjucks to just nunj
parent 7f8ec3d5
Branches
No related tags found
No related merge requests found
......@@ -3,6 +3,5 @@ coverage
build
build-debug
content
theme
static
.buildconfig
File moved
{% include "partials/header" %}
{% include "partials/header.html" %}
<div class="section container" id="content">
<div class="metadata">
<h2 id="title">{{ metadata.title }}</h2>
......@@ -30,4 +30,4 @@
</p>
</article>
</div>
{% include "partials/footer" %}
{% include "partials/footer.html" %}
{{ include "partials/header.html" }}
{{ include "partials/footer.html" }}
......@@ -39,7 +39,7 @@
{{ metadata.headerextra | safe }}
</head>
<body {{ "class=type-article" if type=="article" }}>
{% import "partials/svgs" as svgs %}
{% import "partials/svgs.html" as svgs %}
<div id="all">
<!-- Top nav -->
<nav class="supernav" role="navigation" style="z-index:5;position:absolute;">
......@@ -141,5 +141,4 @@
</ul>
</div>
</nav>
{% include "partials/search" %}
{% include "partials/search.html" %}
{% import "partials/svgs" as svgs %}
{% import "partials/svgs.html" as svgs %}
<div id=content class=container>
<div class="section">
<div class="row">
......@@ -35,8 +35,8 @@
</div>
{% endfor %}
</div>
{% include "partials/paginator" %}
{% include "partials/paginator.html" %}
</div>
<div class="hide-on-small-only">
......@@ -62,21 +62,21 @@
if ($(this).height() > maxHeight) { maxHeight = $(this).height(); }
});
$(".head-perex").height(maxHeight);
$(".head-title").height("auto");
maxHeight = 0;
$(".head-title").each(function(){
if ($(this).height() > maxHeight) { maxHeight = $(this).height(); }
});
$(".head-title").height(maxHeight);
$(".head-info").height("auto");
maxHeight = 0;
$(".head-info").each(function(){
if ($(this).height() > maxHeight) { maxHeight = $(this).height(); }
});
$(".head-info").height(maxHeight);
// Sidelink icons of same size
$(".sidelink-icon").css("top",$(window).height()/2);
};
......
{% import "partials/svgs" as svgs %}
{% import "partials/svgs.html" as svgs %}
<ul class="pagination">
<li><a {{ (" href=\""+config.baseurl +"/"+ metadata.firstpage.file +"\"") | safe if metadata.firstpage.file != file }}>
......@@ -17,9 +17,8 @@
<li><a {{ " href="+config.baseurl +"/"+ metadata.nextpage.file if metadata.nextpage != undefined }}>
{{ svgs.chevronright( "#999" if metadata.nextpage == undefined else "#000", 1,"em" ) }}
</a></li>
<li><a {{ (" href=\""+config.baseurl +"/"+ metadata.lastpage.file +"\"") | safe if metadata.lastpage.file != file }}>
{{ svgs.doublechevronright( "#999" if metadata.lastpage.file == file else "#000", 1,"em" ) }}
</a></li>
</ul>
{% include "partials/header.html" %}
{% include "partials/list.html" %}
{% include "partials/footer.html" %}
{% include "partials/header" %}
{% include "partials/list" %}
{% include "partials/footer" %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment