2019-01-29 21:27:18 +01:00
|
|
|
{% if site.style == 'dark' %}
|
|
|
|
{% assign icon_color = "#ffffff" %}
|
|
|
|
{% else %}
|
|
|
|
{% assign icon_color = "#24292e" %}
|
|
|
|
{% endif %}
|
|
|
|
|
2019-02-25 18:27:28 +01:00
|
|
|
{% assign content = page.content %}
|
2019-01-30 16:20:51 +01:00
|
|
|
|
2019-01-29 21:27:18 +01:00
|
|
|
{% assign posts_total = site.posts | size %}
|
|
|
|
|
2019-02-12 17:50:01 +01:00
|
|
|
{% assign user = site.github.owner %}
|
2019-01-29 21:27:18 +01:00
|
|
|
|
2019-02-25 01:02:52 +01:00
|
|
|
{% if page.path contains '_posts' %}
|
2019-03-25 17:38:28 +01:00
|
|
|
{% assign page_title = page.title %}
|
2019-02-25 16:10:33 +01:00
|
|
|
{% assign meta_description = page.content | strip_html | strip_newlines | xml_escape | truncate: 300 %}
|
2019-02-25 01:02:52 +01:00
|
|
|
{% else %}
|
2019-03-25 17:38:28 +01:00
|
|
|
{% assign page_title = user.name %}
|
2019-02-25 16:10:33 +01:00
|
|
|
{% assign meta_description = user.bio | strip_html | strip_newlines | xml_escape | truncate: 300 %}
|
2019-02-25 01:02:52 +01:00
|
|
|
{% endif %}
|
|
|
|
|
2019-01-25 17:35:18 +01:00
|
|
|
<!doctype html>
|
2019-03-13 05:38:36 +01:00
|
|
|
<html class="min-height-full">
|
2019-01-25 17:35:18 +01:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
2019-03-25 17:38:28 +01:00
|
|
|
<title>{{ page_title }}</title>
|
2019-02-25 01:02:52 +01:00
|
|
|
<meta name="description" content="{{ meta_description }}" />
|
2019-03-25 17:38:28 +01:00
|
|
|
<meta property="og:title" content="{{ user.name }}" />
|
|
|
|
<meta property="og:image" content="{{ user.avatar_url }}" />
|
|
|
|
<meta property="og:description" content="{{ meta_description }}" />
|
2019-02-07 22:59:44 +01:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
2019-03-08 18:07:04 +01:00
|
|
|
<link href="{{ "/assets/styles.css" | relative_url }}" rel="stylesheet" type="text/css">
|
2019-01-25 17:35:18 +01:00
|
|
|
</head>
|
2019-03-13 05:38:36 +01:00
|
|
|
<body class="bg-white min-height-full" {% if site.style == 'dark' %}style="background-color: #2f363d !important"{% endif %}>
|