Files
@ 8ced4436e132
Branch filter:
Location: CSY/sefm2020/themes/bootstrap3/templates/article.html - annotation
8ced4436e132
4.5 KiB
text/html
Add workshop pages.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 | 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 | {% extends "base.html" %}
{% block title %}{{ article.title|striptags }} - {{ SITENAME }}{% endblock %}
{% block html_lang %}{{ article.lang }}{% endblock %}
{% block meta %}
{% if article.author %}
<meta name="author" content="{{ article.author }}" />
{% else %}
<meta name="author" content="{{ AUTHOR }}" />
{% endif %}
{% if article.tags %}
<meta name="keywords" content="{{ article.tags|join(',')|striptags }}" />
{% endif %}
{% if article.summary %}
<meta name="description" content="{{ article.summary|striptags|escape }}" />
{% endif %}
{% endblock %}
{% block opengraph %}
{% if USE_OPEN_GRAPH %}
{% if OPEN_GRAPH_FB_APP_ID %}
<meta property="fb:app_id" content="{{ OPEN_GRAPH_FB_APP_ID }}"/>
{% endif %}
<meta property="og:site_name" content="{{ SITENAME }}" />
<meta property="og:type" content="article"/>
<meta property="og:title" content="{{ article.title|striptags|escape }}"/>
<meta property="og:url" content="{{ SITEURL }}/{{ article.url }}"/>
<meta property="og:description" content="{{ article.summary|striptags|escape }}"/>
<meta property="article:published_time" content="{{ article.date.strftime("%Y-%m-%d") }}" />
{% if article.category %}
<meta property="article:section" content="{{ article.category }}" />
{% endif %}
{% for tag in article.tags %}
<meta property="article:tag" content="{{ tag }}" />
{% endfor %}
{% if article.author %}
<meta property="article:author" content="{{ article.author }}" />
{% elif AUTHOR %}
<meta property="article:author" content="{{ AUTHOR }}" />
{% endif %}
{% if article.og_image %}
<meta property="og:image"
content="{{ SITEURL }}/{{ article.og_image }}"/>
{% elif OPEN_GRAPH_IMAGE %}
<meta property="og:image"
content="{{ SITEURL }}/{{ OPEN_GRAPH_IMAGE }}"/>
{% endif %}
{% endif %}
{% endblock %}
{% block canonical_rel %}
<link rel="canonical" href="{{ SITEURL }}/{{ article.url }}">
{% endblock %}
{% block breadcrumbs %}
{% if DISPLAY_BREADCRUMBS %}
{% if DISPLAY_CATEGORY_IN_BREADCRUMBS %}
<ol class="breadcrumb">
<li><a href="{{ SITEURL }}" title="{{ SITENAME }}"><i class="fa fa-home fa-lg"></i></a></li>
<li><a href="{{ SITEURL }}/{{ article.category.url }}" title="{{ article.category }}">{{ article.category }}</a></li>
<li class="active">{{ article.title }}</li>
</ol>
{% else %}
<ol class="breadcrumb">
<li><a href="{{ SITEURL }}" title="{{ SITENAME }}"><i class="fa fa-home fa-lg"></i></a></li>
<li class="active">{{ article.title }}</li>
</ol>
{% endif %}
{% endif %}
{% endblock %}
{% block content %}
<section id="content">
<article>
<header class="page-header">
<h1>
<a href="{{ SITEURL }}/{{ article.url }}"
rel="bookmark"
title="{{ ('Permalink to') }} {{ article.title|striptags }}">
{{ article.title }}
</a>
</h1>
</header>
<div class="entry-content">
<div class="panel">
<div class="panel-body">
{% include "includes/article_info.html" %}
</div>
</div>
{{ article.content }}
</div>
<!-- /.entry-content -->
{% include 'includes/related-posts.html' %}
{% include 'includes/series.html' %}
{% include 'includes/addthis.html' %}
{% include 'includes/shariff.html' %}
{% include 'includes/comments.html' %}
{% include 'includes/show_source.html' %}
</article>
</section>
{% endblock %}
{% block scripts %}
{% if ADDTHIS_PROFILE %}
{% if ADDTHIS_DATA_TRACK_ADDRESSBAR|default(true) %}
<script type="text/javascript">var addthis_config = {"data_track_addressbar": true};</script>
{% endif %}
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid={{ ADDTHIS_PROFILE }}"></script>
{% endif %}
{% if SHARIFF|default(false) %}
<!-- add shariff support -->
<script src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/js/shariff.min.js"></script>
{% endif %}
{% endblock %}
|