You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mediarepo/_includes/head.html

22 lines
1.3 KiB
HTML

<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>
<meta name="author" content="{% if page.author%}{{ page.author | escape }}{% else %}{{ site.github_username | escape }}{% endif %}">
<meta name="description"
content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
<meta name="og:image"
content="{% if page.image %}{{ page.image }}{% else %}{{ '/assets/images/icon.png' }}{% endif %}">
{% assign user_url=site.url | append: site.baseurl %}
{% assign full_base_url=user_url | default: site.github.url %}
<link rel="stylesheet" href="{{ "/assets/style.css" | prepend: full_base_url }}">
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ " /feed.xml" | prepend:
site.baseurl | prepend: site.url }}">
<script async defer src="https://buttons.github.io/buttons.js"></script>
</head>