diff options
Diffstat (limited to '_includes')
-rw-r--r-- | _includes/head.html | 4 | ||||
-rw-r--r-- | _includes/header.html | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/_includes/head.html b/_includes/head.html index b1c8ce5..a96a782 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -6,6 +6,6 @@ <title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title> <meta name="description" content="{{ site.description }}"> - <link rel="stylesheet" href="/assets/css/bootstrap.min.css"> - <link rel="stylesheet" href="/assets/css/style.css"> + <link rel="stylesheet" href="{{ site.baseurl }}/assets/css/bootstrap.min.css"> + <link rel="stylesheet" href="{{ site.baseurl }}/assets/css/style.css"> </head> diff --git a/_includes/header.html b/_includes/header.html index e902722..1bc9d22 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -8,13 +8,13 @@ <span class="icon-bar"></span> </button> <a class="navbar-brand" href="/"> - <img alt="Irssi Logo" class="navbar-irssi-logo" src="/assets/logo.png"> + <img alt="Irssi Logo" class="navbar-irssi-logo" src="{{ site.baseurl }}/assets/logo.png"> {% comment %}{{ site.title }}{% endcomment %} </a> </div> <div id="navbar" class="collapse navbar-collapse"> <ul class="nav navbar-nav"> - <li{% if page.url == "/index.html" %} class="active"{% endif %}><a href="/">News</a></li> + <li{% if page.url == "/index.html" %} class="active"{% endif %}><a href="{{ site.baseurl }}">News</a></li> {% comment %} Exclude the news feed and the paginated news pages. {% endcomment %} @@ -22,11 +22,11 @@ {% if node.title != "News" and node.title != "News Feed" %} {% if page.url == node.url %} <li class="active"> - <a href="{{ node.url }}" class="active">{{ node.title }}</a> + <a href="{{ site.baseurl }}{{ node.url }}" class="active">{{ node.title }}</a> </li> {% else %} <li> - <a href="{{ node.url }}">{{ node.title }}</a> + <a href="{{ site.baseurl }}{{ node.url }}">{{ node.title }}</a> </li> {% endif %} {% endif %} |