diff options
-rw-r--r-- | _includes/head.html | 4 | ||||
-rw-r--r-- | _includes/header.html | 8 | ||||
-rw-r--r-- | _layouts/home.html | 2 | ||||
-rw-r--r-- | articles/index.markdown | 2 |
4 files changed, 8 insertions, 8 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 %} diff --git a/_layouts/home.html b/_layouts/home.html index 81451b6..c325bfb 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -5,7 +5,7 @@ layout: default <h1>News{% if paginator.page > 1 %} Archive{% endif %}</h1> {% for post in paginator.posts %} - <h2><a href="{{ post.url }}">{{ post.title }}</a></h2> + <h2><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h2> {% include postmeta.html node=post %} {{ post.content | markdownify }} {% endfor %} diff --git a/articles/index.markdown b/articles/index.markdown index 1f8c44f..a8fcfde 100644 --- a/articles/index.markdown +++ b/articles/index.markdown @@ -7,5 +7,5 @@ Articles ======== {% for article in site.articles %} -- [{{ article.title }}]({{ article.url }}) +- [{{ article.title }}]({{ site.baseurl }}{{ article.url }}) {% endfor %} |