_includes/custom-head.html in appscms-tools-theme-3.3.5 vs _includes/custom-head.html in appscms-tools-theme-3.3.6

- old
+ new

@@ -58,10 +58,23 @@ <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 -%} /> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css" {%- if site.crossorigin -%} crossorigin {%- endif -%} /> \ No newline at end of file