From 8160f5ee1c5ed331e693b4bbba4d98ea02d166f6 Mon Sep 17 00:00:00 2001
From: Houtan Bastani <houtan@dynare.org>
Date: Thu, 18 Oct 2018 16:20:06 +0200
Subject: [PATCH] reference images directly from html

---
 _config.yml             | 2 --
 _includes/masthead.html | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/_config.yml b/_config.yml
index d2f2976..c292af3 100644
--- a/_config.yml
+++ b/_config.yml
@@ -21,8 +21,6 @@ dynare_stable_version    : "4.5.6"
 locale                   : "en-US"
 title                    : "Dynare"
 title_separator          : "|"
-logo                     : /assets/images/logo/dlogo.svg
-favicon                  : /assets/images/logo/dlogo_hover.svg
 name                     : "Dynare"
 description              : "Dynare is a software platform for handling a wide class of economic models, in particular dynamic stochastic general equilibrium (DSGE) and overlapping generations (OLG) models"
 url                      : "https://www.dynare.org/" # the base hostname & protocol for your site e.g. "https://mmistakes.github.io"
diff --git a/_includes/masthead.html b/_includes/masthead.html
index 57c8103..2385f8a 100644
--- a/_includes/masthead.html
+++ b/_includes/masthead.html
@@ -2,7 +2,7 @@
   <div class="masthead__inner-wrap">
     <div class="masthead__menu">
       <nav id="site-nav" class="greedy-nav">
-        <a class="dynare_masthead_home_img" href="{{ '/' | relative_url }}"><img src="{{ site.logo }}" alt="Dynare" width="150px" onmouseover="this.src='{{ site.favicon }}';" onmouseout="this.src='{{ site.logo }}';" /></a>
+        <a class="dynare_masthead_home_img" href="{{ '/' | relative_url }}"><img src="/assets/images/logo/dlogo.svg" alt="Dynare" width="150px" onmouseover="this.src='/assets/images/logo/dlogo_hover.svg';" onmouseout="this.src='/assets/images/logo/dlogo.svg';" /></a>
         <ul class="visible-links" id="dynare_masthead_ul">
           {%- for link in site.data.navigation.main -%}
             {%- if link.url contains '://' -%}
-- 
GitLab