diff options
Diffstat (limited to '_layouts')
| -rw-r--r-- | _layouts/default.html | 3 | ||||
| -rw-r--r-- | _layouts/xslt_container.html | 5 |
2 files changed, 3 insertions, 5 deletions
diff --git a/_layouts/default.html b/_layouts/default.html index 610ef4d..a6cc7c0 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -9,6 +9,7 @@ layout: xslt_container <meta name="viewport" content="width=device-width, initial-scale=1" /> {% seo %} + {% if page.robots %}<meta name="robots" content="{{ page.robots }}" />{% endif %} {% unless site.github %}<link rel="canonical" href="https://mabbs.github.io{{ page.url }}" />{% endunless %} {% feed_meta %} <link rel="alternate" type="application/rss+xml" title="{{ site.title }}(RSS)" href="{{ "/rss.xml" | absolute_url }}" /> @@ -58,7 +59,7 @@ layout: xslt_container <h1><a class="u-url u-uid p-name" rel="me" href="{{ "/" | relative_url }}">{{ site.title | default: site.github.repository_name }}</a></h1> {% if site.logo %} - <img src="{{ site.logo }}" fetchpriority="high" class="u-photo" alt="Logo" style="width: 90%; max-width: 300px; max-height: 300px;" /> + <img src="{{ site.logo }}" fetchpriority="high" class="u-photo" alt="Logo" style="width: 90%; max-width: 300px; max-height: 300px; border-radius: 25%;" /> {% endif %} <p class="p-note">{{ site.description | default: site.github.project_tagline }}</p> diff --git a/_layouts/xslt_container.html b/_layouts/xslt_container.html index 7d957d5..8383a6e 100644 --- a/_layouts/xslt_container.html +++ b/_layouts/xslt_container.html @@ -1,10 +1,7 @@ {% if page.layout == "xslt" %}<?xml version="1.0" encoding="utf-8"?> <?xml-stylesheet type="text/xml" href="/feed.xslt.xml"?> <?xml-stylesheet type="text/css" href="/assets/css/xslt.css"?> -<xsl:stylesheet - xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:atom="http://www.w3.org/2005/Atom" - xmlns:sm="http://www.sitemaps.org/schemas/sitemap/0.9"> +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sm="http://www.sitemaps.org/schemas/sitemap/0.9"> <xsl:output method="html" version="4.0" encoding="UTF-8" indent="yes" doctype-system="about:legacy-compat" /> <xsl:template match="/"> {{ content }} |
