A couple of clean up changes
This commit is contained in:
parent
645c59579c
commit
cd0510ee7d
2 changed files with 51 additions and 46 deletions
|
@ -18,16 +18,23 @@
|
|||
{% for tag in article.tags %}
|
||||
<meta name="tags" content="{{ tag }}" />
|
||||
{% endfor %}
|
||||
<!-- Twitter Card Things-->
|
||||
<meta name="twitter:card" content="summary" />
|
||||
{% if SOCIAL_TWIITER %}
|
||||
<meta name="twitter:site" content="@{{ SOCIAL_TWIITER }}" />
|
||||
{% endif %}
|
||||
<meta property="twitter:domain" content="jeffmackinnon.com">
|
||||
|
||||
|
||||
<!-- Open Graph Tags-->
|
||||
<meta property="og:site_name" content="{{ SITENAME }}" />
|
||||
<meta property="og:title" content="{{ article.title|striptags }}" />
|
||||
<meta property="og:url" content="{{ SITEURL }}/{{ article.url }}" />
|
||||
<meta property="og:type" content="website">
|
||||
{% if article.photo_image %}
|
||||
<meta property="og:image" content="{{ SITEURL }}/{{ article.photo_image[1] }}" />
|
||||
{% endif %}
|
||||
<!-- <meta property="og:description" content="{{ article.summary }}" /> -->
|
||||
|
||||
|
||||
<!-- I can't get this to work ... yet <meta property="og:description" content="{{ article.summary }}" /> -->
|
||||
|
||||
|
||||
{% endblock %}
|
||||
|
|
|
@ -35,8 +35,6 @@
|
|||
<link href="{{ FEED_DOMAIN }}/{% if TAG_FEED_RSS_URL %}{{ TAG_FEED_RSS_URL.format(slug=tag.slug) }}{% else %}{{ TAG_FEED_RSS.format(slug=tag.slug) }}{% endif %}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Tags RSS Feed" />
|
||||
{% endif %}
|
||||
|
||||
{% endblock head %}
|
||||
|
||||
|
||||
<!-- Matomo -->
|
||||
<script>
|
||||
|
@ -56,7 +54,7 @@
|
|||
</script>
|
||||
<!-- End Matomo Code -->
|
||||
|
||||
|
||||
{% endblock head %}
|
||||
</head>
|
||||
|
||||
<body class="is-preload">
|
||||
|
@ -69,11 +67,11 @@
|
|||
<strong><a href="{{ SITEURL }}/" class="logo">{{ SITENAME }}{% if SITESUBTITLE %} {{ SITESUBTITLE }}{% endif %}</a></strong>
|
||||
|
||||
<ul class="icons">
|
||||
{% if SOCIAL_TWIITER_LINK %}
|
||||
<li><a href="{{ SOCIAL_TWIITER_LINK }}" class="icon brands fa-twitter"><span class="label">Twitter</span></a></li>
|
||||
{% if SOCIAL_TWIITER %}
|
||||
<li><a href="https://twitter.com/{{ SOCIAL_TWIITER }}" class="icon brands fa-twitter"><span class="label">Twitter</span></a></li>
|
||||
{% endif %}
|
||||
{% if SOCIAL_GITHUB_LINK %}
|
||||
<li><a href="https://github.com/Jeffmackinnon" class="icon brands fa-github"><span class="label">Github</span></a></li>
|
||||
{% if SOCIAL_GITHUB %}
|
||||
<li><a href="https://github.com/{{ SOCIAL_GITHUB }}" class="icon brands fa-github"><span class="label">Github</span></a></li>
|
||||
{% endif %}
|
||||
{% if FEED_ALL_ATOM %}
|
||||
<li><a href="{{ FEED_DOMAIN }}/{% if FEED_ALL_ATOM_URL %}{{ FEED_ALL_ATOM_URL }}{% else %}{{ FEED_ALL_ATOM }}{% endif %}" type="application/atom+xml" rel="alternate" class="icon brands fa-atom"><span class="label">atom feed</span></a></li>
|
||||
|
|
Loading…
Reference in a new issue