Skip to content

Commit 007bbe3

Browse files
Merge pull request amitmerchant1990#8 from pflenker/dev-cleanup
Chore: Theme Cleanup
2 parents 6dc410a + 867abb5 commit 007bbe3

File tree

3 files changed

+5
-10
lines changed

3 files changed

+5
-10
lines changed

_config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ author: Amit Merchant
1212
description: An elegant Jekyll theme
1313

1414
# URL of your avatar or profile pic (you could use your GitHub profile pic)
15-
avatar: /reverie/images/reverie.png
15+
avatar: /images/reverie.png
1616

1717
#
1818
# Flags below are optional

_includes/meta.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<meta property="og:image" content="{{ site.url }}{{ page.image }}"/>
2525
<meta property="twitter:image" content="{{ site.url }}{{ page.image }}"/>
2626
{% else %}
27-
<meta property="og:image" content="https://avatars0.githubusercontent.com/u/3647841?v=3&s=460"/>
28-
<meta property="twitter:image" content="https://avatars0.githubusercontent.com/u/3647841?v=3&s=460"/>
27+
<meta property="og:image" content="{{ site.url }}{{ site.avatar }}"/>
28+
<meta property="twitter:image" content="{{ site.url }}{{ site.avatar }}"/>
2929
{% endif %}
3030
<meta property="og:site_name" content="Amit Merchant - Software Engineer"/>

_layouts/default.html

+2-7
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,7 @@
1010
<link rel="canonical" href="{{ site.url }}{{ page.url }}" />
1111

1212
<meta name="theme-color" content="#000000">
13-
<link rel="icon" type="image/png" sizes="32x32" href="/reverie/images/favicon-32x32.png">
14-
<script type="text/javascript">
15-
var host = "www.amitmerchant.com";
16-
if ((host == window.location.host) && (window.location.protocol != "https:"))
17-
window.location.protocol = "https";
18-
</script>
13+
<link rel="icon" type="image/png" sizes="32x32" href="{{ site.baseurl }}/images/favicon-32x32.png">
1914
</head>
2015

2116
<body>
@@ -24,7 +19,7 @@
2419
<div class="wrapper-masthead">
2520
<div class="container">
2621
<header class="masthead clearfix">
27-
<a href="{{ site.baseurl }}/" class="site-avatar"><img src="{{ site.avatar }}" /></a>
22+
<a href="{{ site.baseurl }}/" class="site-avatar"><img src="{{ site.baseurl }}{{ site.avatar }}" /></a>
2823

2924
<div class="site-info">
3025
<h1 class="site-name"><a href="{{ site.baseurl }}/">{{ site.name }}</a></h1>

0 commit comments

Comments
 (0)