Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • kwant/website
  • jbweston/website
  • basnijholt/website
  • r-j-skolasinski/website
  • marwahaha/website
5 results
Show changes
This diff is collapsed.
This diff is collapsed.
/*! Generated by Live LESS Theme Customizer */
@brand-primary: #07c;
@font-family-sans-serif: "Bitstream Vera Sans", Verdana, sans-serif;
@font-family-serif: "Bitstream Vera Serif", Georgia, serif;
@font-family-base: @font-family-serif;
@font-size-base: 16px;
@headings-font-family: @font-family-sans-serif;
@navbar-margin-bottom: 0;
@navbar-border-radius: 0;
@navbar-padding-vertical: 0;
@navbar-default-color: @gray-base;
@navbar-default-bg: white;
@navbar-default-border: white;
@navbar-default-link-color: @gray-base;
@well-bg: #eeeeee;
bootstrap3-jinja
{# -*- coding: utf-8 -*- #}
{% import 'base_helper.tmpl' as base with context %}
{% import 'annotation_helper.tmpl' as notes with context %}
{{ set_locale(lang) }}
{{ base.html_headstart() }}
{% block extra_head %}
{# Leave this block alone. #}
{% endblock %}
{{ template_hooks['extra_head']() }}
</head>
<body>
<a href="#content" class="sr-only sr-only-focusable">{{ messages("Skip to main content") }}</a>
<!-- Menubar -->
<nav class="navbar navbar-default">
<div class="container">
<a class="navbar-brand" href="{{ abs_link(_link("root", None, lang)) }}">
{% if logo_url %}
<img src="{{ logo_url }}" alt="{{ blog_title|e }}" id="logo" class="img-responsive center-block">
{% endif %}
{% if show_blog_title %}
<span id="blog-title">{{ blog_title|e }}</span>
{% endif %}
</a>
<div class="havbar-header text-center" id="bs-navbar" aria-expanded="false">
<ul class="nav navbar-nav well well-sm">
{{ base.html_navigation_links() }}
{{ template_hooks['menu']() }}
</ul>
{% if search_form %}
{{ search_form }}
{% endif %}
<ul class="nav navbar-nav navbar-right">
{% block belowtitle %}
{% if translations|length > 1 %}
<li>{{ base.html_translations() }}</li>
{% endif %}
{% endblock %}
{% if show_sourcelink %}
{% block sourcelink %}{% endblock %}
{% endif %}
{{ template_hooks['menu_alt']() }}
</ul>
</div><!-- /.navbar-collapse -->
</div><!-- /.container -->
</nav>
<!-- End of Menubar -->
<div class="container" id="content" role="main">
<div class="body-content">
<!--Body content-->
<div class="row">
<div class="col-sm-10 col-sm-offset-1">
{{ template_hooks['page_header']() }}
{% block content %}{% endblock %}
</div>
</div>
<!--End of body content-->
<footer id="footer" class="row">
{{ content_footer }}
{{ template_hooks['page_footer']() }}
</footer>
</div>
</div>
{{ base.late_load_js() }}
<script>$('a.image-reference:not(.islink) img:not(.islink)').parent().colorbox({rel:"gal",maxWidth:"100%",maxHeight:"100%",scalePhotos:true});</script>
<!-- fancy dates -->
<script>
moment.locale("{{ momentjs_locales[lang] }}");
fancydates({{ date_fanciness }}, {{ js_date_format }});
</script>
<!-- end fancy dates -->
{% block extra_js %}{% endblock %}
{% if annotations and post and not post.meta('noannotations') %}
{{ notes.code() }}
{% elif not annotations and post and post.meta('annotations') %}
{{ notes.code() }}
{% endif %}
{{ body_end }}
{{ template_hooks['body_end']() }}
</body>
</html>
{# -*- coding: utf-8 -*- #}
{% import 'index_helper.tmpl' as helper with context %}
{% import 'comments_helper.tmpl' as comments with context %}
{% import 'pagination_helper.tmpl' as pagination with context %}
{% import 'post_header.tmpl' as pheader with context %}
{% extends 'base.tmpl' %}
{% block extra_head %}
{{ super() }}
{% if posts and (permalink == '/' or permalink == '/' + index_file) %}
<link rel="prefetch" href="{{ posts[0].permalink() }}" type="text/html">
{% endif %}
{% endblock %}
{% block content %}
{% block content_header %}{% endblock %}
{% if 'main_index' in pagekind %}
{{ front_index_header }}
{% endif %}
{% if page_links %}
{{ pagination.page_navigation(current_page, page_links, prevlink, nextlink, prev_next_links_reversed) }}
{% endif %}
<div class="postindex">
{% for post in posts %}
<article class="h-entry post-{{ post.meta('type') }}">
<header>
<h2 class="p-name entry-title"><a href="{{ post.permalink() }}" class="u-url">{{ post.title()|e }}</a></h2>
<div class="metadata">
<p class="dateline"><b>date: </b><a href="{{ post.permalink() }}" rel="bookmark"><time class="published dt-published" datetime="{{ post.formatted_date('webiso') }}" title="{{ post.formatted_date(date_format)|e }}">{{ post.formatted_date(date_format)|e }}</time></a></p>
{% if not post.meta('nocomments') and site_has_comments %}
<p class="commentline">{{ comments.comment_link(post.permalink(), post._base_path) }}
{% endif %}
</div>
</header>
{% if index_teasers %}
<div class="p-summary entry-summary">
{{ post.text(teaser_only=True) }}
{% else %}
<div class="e-content entry-content">
{{ post.text(teaser_only=False) }}
{% endif %}
</div>
</article>
{% endfor %}
</div>
{{ helper.html_pager() }}
{{ comments.comment_link_script() }}
{% endblock %}
{# -*- coding: utf-8 -*- #}
{% import 'post_helper.tmpl' as helper with context %}
{% import 'comments_helper.tmpl' as comments with context %}
{% macro html_title() %}
{% if title and not post.meta('hidetitle') %}
<h2 class="p-name entry-title" itemprop="headline name">{{ post.title()|e }}</h2>
{% endif %}
{% endmacro %}
{% macro html_translations(post) %}
{% if post.translated_to|length > 1 %}
<div class="metadata posttranslations translations">
<h3 class="posttranslations-intro">{{ messages("Also available in:") }}</h3>
{% for langname in translations|sort %}
{% if langname != lang and post.is_translation_available(langname) %}
<p><a href="{{ post.permalink(langname) }}" rel="alternate" hreflang="{{ langname }}">{{ messages("LANGUAGE", langname) }}</a></p>
{% endif %}
{% endfor %}
</div>
{% endif %}
{% endmacro %}
{% macro html_sourcelink() %}
{% if show_sourcelink %}
<p class="sourceline"><a href="{{ post.source_link() }}" id="sourcelink">{{ messages("Source") }}</a></p>
{% endif %}
{% endmacro %}
{% macro html_post_header() %}
<header>
{{ html_title() }}
<div class="metadata">
<p class="dateline"><b>date: </b><a href="{{ post.permalink() }}" rel="bookmark"><time class="published dt-published" datetime="{{ post.formatted_date('webiso') }}" itemprop="datePublished" title="{{ post.formatted_date(date_format)|e }}">{{ post.formatted_date(date_format)|e }}</time></a></p>
{% if not post.meta('nocomments') and site_has_comments %}
<p class="commentline">{{ comments.comment_link(post.permalink(), post._base_path) }}
{% endif %}
{{ html_sourcelink() }}
{% if post.meta('link') %}
<p class="linkline"><a href="{{ post.meta('link') }}">{{ messages("Original site") }}</a></p>
{% endif %}
{% if post.description() %}
<meta name="description" itemprop="description" content="{{ post.description()|e }}">
{% endif %}
</div>
{{ html_translations(post) }}
</header>
{% endmacro %}
{# -*- coding: utf-8 -*- #}
{% block content %}
<!-- Begin post-list {{ post_list_id }} -->
<div id="{{ post_list_id }}" class="post-list">
{% if posts %}
<ul class="post-list">
{% for post in posts %}
<li class="post-list-item">
<div class="post-item-title">
{{ post.formatted_date(date_format)|e }}
<a href="{{ post.permalink(lang) }}">{{ post.title(lang)|e }}</a>
</div>
{{ post.text(teaser_only=True) }}
</li>
{% endfor %}
</ul>
{% endif %}
</div>
<!-- End post-list {{ post_list_id }} -->
{% endblock %}