_includes/authorpagehead/index.html in appscms-tools-theme-3.9.7 vs _includes/authorpagehead/index.html in appscms-tools-theme-3.9.8

- old
+ new

@@ -1,37 +1,47 @@ <head> - {% assign posts = site.posts | where_exp:"post","post.url != page.url" %} - {% for post in posts %} - {%- include /authors/authors.html -%} - {% if authorName contains page.authorName %} - {% capture author_info %}{% assign author = authorName %}{% assign bio = bio %}{{ author }} - {{ bio }}{% endcapture %} - {% capture author_name %}{% assign author = authorName %}{{ author }}{% endcapture %} + {% assign posts = site.posts | where_exp:"post","post.url != page.url" %} {% + for post in posts %} {%- include /authors/authors.html -%} {% if authorName + contains page.authorName %} {% capture author_info %}{% assign author = + authorName %}{% assign bio = bio %}{{ author }} - {{ bio }}{% endcapture %} {% + capture author_name %}{% assign author = authorName %}{{ author }}{% + endcapture %} {% assign authorPageTitle = author_info %} {% assign author_name + = author_name %} {%- endif -%} {% endfor %} {%- assign title = newtitle -%} + {%- assign description = pagedescription-%} - {% assign authorPageTitle = author_info %} - {% assign author_name = author_name %} - {%- 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}}" /> - <meta name="description" content="{{ authorPageTitle | slice: 0, 155 | default: page.description }}" /> - <meta name="og:description" content="{{ authorPageTitle | slice: 0, 155 | default: page.description}}" /> - <meta property="og:title" content="{{ authorPageTitle | default: page.title }}" /> - <meta property="og:type" content="profile" /> - <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="{{ author_name | default: page.title }}" /> - <title>{{authorPageTitle | default: page.title}}</title> - <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 }}" /> - {%- include google-analytics.html -%} -</head> \ No newline at end of file + <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}}" /> + <meta + name="description" + content="{{ authorPageTitle | slice: 0, 155 | default: page.description }}" + /> + <meta + name="og:description" + content="{{ authorPageTitle | slice: 0, 155 | default: page.description}}" + /> + <meta + property="og:title" + content="{{ authorPageTitle | default: page.title }}" + /> + <meta property="og:type" content="profile" /> + <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="{{ author_name | default: page.title }}" /> + <title>{{authorPageTitle | default: page.title}}</title> + <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 }}" /> + {%- include google-analytics.html -%} +</head>