_includes/custom-head.html in appscms-tools-theme-0.4.4 vs _includes/custom-head.html in appscms-tools-theme-0.4.5

- old
+ new

@@ -1,34 +1,30 @@ -<head> - {%- assign seo_description = page.description | default: page.excerpt | default: site.description -%} - {%- if seo_description -%} - {%- assign seo_description = seo_description | markdownify | strip_html | strip_newlines | escape_once -%} - {%- endif -%} - {%- if page.date -%} - {%- assign og_type = "article" -%} - {%- else -%} - {%- assign og_type = "website" -%} - {%- endif -%} - - <meta charset="UTF-8"> - <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> - <meta name="keywords" content="{{site.keyboard}}"> - <meta name="description" content="{{ seo_description}}"> - <meta name="og:description" content="{{ seo_description}}"> - <meta property="og:title" content="{{ page.title | default: site.title }}"> - <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 }}"> - - <title>{{page.title}}</title> - - <!-- fonts --> - <link href="https://fonts.googleapis.com/css2?family=Quicksand&display=swap" rel="stylesheet"> - <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" /> - <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css"> - <link rel="stylesheet" href="{{'/assets/css/blog.css' | relative_url }}"> - <script src="https://code.jquery.com/jquery-3.5.1.js"></script> +<head> + {%- assign seo_description = page.description | default: page.excerpt | default: site.description -%} + {%- if seo_description -%} + {%- assign seo_description = seo_description | markdownify | strip_html | strip_newlines | escape_once -%} + {%- endif -%} + {%- if page.date -%} + {%- assign og_type = "article" -%} + {%- else -%} + {%- assign og_type = "website" -%} + {%- endif -%} + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> + <meta name="keywords" content="{{site.keyboard}}"> + <meta name="description" content="{{ seo_description}}"> + <meta name="og:description" content="{{ seo_description}}"> + <meta property="og:title" content="{{ page.title | default: site.title }}"> + <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 }}"> + <title>{{page.title}}</title> + <!-- fonts --> + <link href="https://fonts.googleapis.com/css2?family=Quicksand&display=swap" rel="stylesheet"> + <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" /> + <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css"> + <link rel="stylesheet" href="{{'/assets/css/blog.css' | relative_url }}"> + <script src="https://code.jquery.com/jquery-3.5.1.js"></script> </head> \ No newline at end of file