Chore: Theme Cleanup

This commit is contained in:
Philipp Flenker 2019-08-02 14:35:46 +02:00
parent 9a95e493c0
commit 471e869d25
3 changed files with 5 additions and 10 deletions

View File

@ -12,7 +12,7 @@ author: Amit Merchant
description: An elegant Jekyll theme
# URL of your avatar or profile pic (you could use your GitHub profile pic)
avatar: /reverie/images/reverie.png
avatar: /images/reverie.png
#
# Flags below are optional

View File

@ -24,7 +24,7 @@
<meta property="og:image" content="{{ site.url }}{{ page.image }}"/>
<meta property="twitter:image" content="{{ site.url }}{{ page.image }}"/>
{% else %}
<meta property="og:image" content="https://avatars0.githubusercontent.com/u/3647841?v=3&s=460"/>
<meta property="twitter:image" content="https://avatars0.githubusercontent.com/u/3647841?v=3&s=460"/>
<meta property="og:image" content="{{ site.url }}{{ site.avatar }}"/>
<meta property="twitter:image" content="{{ site.url }}{{ site.avatar }}"/>
{% endif %}
<meta property="og:site_name" content="Amit Merchant - Software Engineer"/>

View File

@ -10,12 +10,7 @@
<link rel="canonical" href="{{ site.url }}{{ page.url }}" />
<meta name="theme-color" content="#000000">
<link rel="icon" type="image/png" sizes="32x32" href="/reverie/images/favicon-32x32.png">
<script type="text/javascript">
var host = "www.amitmerchant.com";
if ((host == window.location.host) && (window.location.protocol != "https:"))
window.location.protocol = "https";
</script>
<link rel="icon" type="image/png" sizes="32x32" href="{{ site.baseurl }}/images/favicon-32x32.png">
</head>
<body>
@ -24,7 +19,7 @@
<div class="wrapper-masthead">
<div class="container">
<header class="masthead clearfix">
<a href="{{ site.baseurl }}/" class="site-avatar"><img src="{{ site.avatar }}" /></a>
<a href="{{ site.baseurl }}/" class="site-avatar"><img src="{{ site.baseurl }}{{ site.avatar }}" /></a>
<div class="site-info">
<h1 class="site-name"><a href="{{ site.baseurl }}/">{{ site.name }}</a></h1>