Skip to content

Commit

Permalink
Fix some redirect urls
Browse files Browse the repository at this point in the history
  • Loading branch information
kaustubhhiware committed May 14, 2017
1 parent 51a6ff6 commit 3073721
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ <h2 id="similar_posts">Similar Posts</h2>
<ul>
{% endif %}
<li class="relatedPost">
<a href="{{ site.url }}{{ post.url }}">{{ post.title }}
<a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}
{% if post.series %}
(Series: {{ post.series }})
{% endif %}
Expand Down
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@ <h2>
<div class="pagination">
{% if paginator.previous_page %}
<a href="/index.html" class="previous"><i class="fa fa-angle-double-left"></i></a>
<a href="{{ paginator.previous_page_path }}" class="previous"><i class="fa fa-angle-left"></i></a>
<a href="{{ paginator.previous_page_path | prepend: site.baseurl }}" class="previous"><i class="fa fa-angle-left"></i></a>
{% else %}
<span class="previous disable"><i class="fa fa-angle-double-left"></i></span>
<span class="previous disable"><i class="fa fa-angle-left"></i></span>
{% endif %}
<span class="page_number ">{{ paginator.page }}/{{ paginator.total_pages }}</span>
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path }}" class="next"><i class="fa fa-angle-right"></i></a>
<a href="/page{{ paginator.total_pages }}" class="next"><i class="fa fa-angle-double-right"></i></a>
<a href="{{ site.baseurl }}/page{{ paginator.total_pages }}" class="next"><i class="fa fa-angle-double-right"></i></a>
{% else %}
<span class="next disable"><i class="fa fa-angle-right"></i></span>
<span class="next disable"><i class="fa fa-angle-double-right"></i></span>
Expand All @@ -75,7 +75,7 @@ <h2>
</div>
<ul class="content-ul" recent>
{% for post in site.posts offset: 0 limit: 10 %}
<li><a href="{{ post.url }}">{{ post.title }}</a></li>
<li><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></li>
{% endfor %}
</ul>
</div>
Expand Down
2 changes: 1 addition & 1 deletion page/1category.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ <h2 id="{{category | first}}">{{category | first}}</h2>
<time>
{{ post.date | date:"%F" }} {{ post.date | date: "%a" }}.
</time>
<a class="title" href="{{ post.url }}">{{ post.title }}</a>
<a class="title" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>

{% include category.html %}
{% include tag.html %}
Expand Down
2 changes: 1 addition & 1 deletion page/2tags.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h2 id="{{ tag }}">{{ tag }}</h2>
<time>
{{ post.date | date:"%F" }} {{ post.date | date: "%a" }}.
</time>
<a class="title" href="{{ post.url }}">{{ post.title }}</a>
<a class="title" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>

{% include category.html %}
{% include tag.html %}
Expand Down

0 comments on commit 3073721

Please sign in to comment.