_includes/custom-head.html in appscms-tools-theme-3.3.6 vs _includes/custom-head.html in appscms-tools-theme-3.3.7
- old
+ new
@@ -45,10 +45,12 @@
{%- endif -%}
{%- endif -%}
{% endfor %}
{%- assign title = newtitle -%}
{%- assign description = pagedescription-%}
+
+
<meta charset="UTF-8" />
<link rel="shortcut icon" href="{{favicon}}" />
<link rel="canonical" href="{{site.url | append: page.url}}" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta name="keywords" content="{{site.keyboard}}" />
@@ -58,22 +60,10 @@
<meta property="og:type" content="{{og_type}}" />
<meta property="og:locale" content="en_US" />
<meta property="og:site_name" content="{{site.name}}" />
<meta property="og:url" content="{{site.url | append: page.url}}" />
<meta name="author" content="{{ site.author_name }}" />
- {%- if page.authorName -%}
- {% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
- {% for post in posts %}
- {%- include /authors/authors.html -%}
- {% if authorName contains page.authorName %}
- {%- assign a = authorName -%}
- {%- assign authorAbout = bio -%}
- {%- endif -%}
- {% endfor %}
- <title>{{a}} - {{authorAbout}}</title>
- {%- endif -%}
-
<title>{{title}}</title>
<link href="https://fonts.googleapis.com/css2?family=Open+Sans&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.0/css/all.min.css" {%- if
site.crossorigin -%} crossorigin {%- endif -%} />
@@ -112,11 +102,10 @@
document.querySelectorAll("script[delay]").forEach(function (scriptTag) {
scriptTag.setAttribute("src", scriptTag.getAttribute("delay"));
});
}
</script>
- <script type="text/javascript" defer delay="{{site.monumetricId}}"
- data-cfasync="false"></script>
+ <script type="text/javascript" defer delay="{{site.monumetricId}}" data-cfasync="false"></script>
{% endif %}
{% if jekyll.environment == 'development' and site.monumetricId %}
<script>
const autoLoadDuration = 5; //In Seconds
\ No newline at end of file