Browse Source

move avatar setting to _config.yml

master
Mikaela Suomalainen 1 year ago
parent
commit
5bc6379bbc
Signed by: Mikaela Suomalainen <mikaela+git@mikaela.info> GPG Key ID: 0C207F07B2F32B67
3 changed files with 6 additions and 4 deletions
  1. +2
    -0
      _config.yml
  2. +3
    -3
      _includes/head.html
  3. +1
    -1
      index.html

+ 2
- 0
_config.yml View File

@@ -28,6 +28,8 @@ sitemap:
file: "/sitemap.xml"
include: [PGP, PHP, keybase.txt, robots.txt]

avatar: https://media.githubusercontent.com/media/Mikaela/mikaela.github.io/master/avatar.jpeg

# {{ipfs}}/IPFSHASHHERE to get ipfs link via gateway. Hopefully future
# proof letting me simply swap the link here instead of changing it
# everywhere in case I will start using it.

+ 3
- 3
_includes/head.html View File

@@ -2,7 +2,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="https://media.githubusercontent.com/media/Mikaela/mikaela.github.io/master/avatar.jpeg">
<link rel="icon" href="{{site.avatar}}">
<title>{% if page.title %}{{ page.title }} ~~ {{ site.title }}{% else %}{{ site.title }}{% endif %}</title>
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description | nstrip_html | strip_newlines }}{% endif %}">

@@ -19,12 +19,12 @@
<meta name="twitter:site" content="@Inaneierase" />
<meta name="twitter:title" content="{% if page.title %}{{ page.title }} ~~ {{ site.title }}{% else %}{{ site.title }}{% endif %}" />
<meta name="twitter:description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description | nstrip_html | strip_newlines }}{% endif %}" />
<meta name="twitter:image" content="https://media.githubusercontent.com/media/Mikaela/mikaela.github.io/master/avatar.jpeg"/>
<meta name="twitter:image" content="{{site.avatar}}"/>
<!-- Facebook -->
<meta property="fb:app_id" content="1550553165222890" />
<meta name="og:title" content="{% if page.title %}{{ page.title }} ~~ {{ site.title }}{% else %}{{ site.title }}{% endif %}" />
<meta name="og:description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description | nstrip_html | strip_newlines }}{% endif %}" />
<meta name="og:site_name" content="MikaeladDotInfo" />
<meta name="og:image" content="https://media.githubusercontent.com/media/Mikaela/mikaela.github.io/master/avatar.jpeg"/>
<meta name="og:image" content="{{site.avatar}}"/>
<meta name="flattr:id" content="7j1ne6">
</head>

+ 1
- 1
index.html View File

@@ -4,7 +4,7 @@ title: Index
excerpt: "I am a Highly Sensitive Autistic Pirate with Linux experience from 2008. I am familiar with git and unemployed."
---

<p id=avatar><img alt="Avatar" src="https://media.githubusercontent.com/media/Mikaela/mikaela.github.io/master/avatar.jpeg" /></p>
<p id=avatar><img alt="Avatar" src="{{site.avatar}}" /></p>

<p id=bio>I am a Highly Sensitive Autistic Pirate with Linux experience from 2008. I am familiar with git and unemployed.</p>
<p class="centered">I speak Finnish, English and a little Esperanto. I am currently learning Czech.</p>

Loading…
Cancel
Save