Skip to content

Commit b91742d

Browse files
committed
fixes
1 parent 76249e9 commit b91742d

12 files changed

+25
-25
lines changed

404.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ <h1 class="post-title">{{ page.title }}</h1>
1414
</header>
1515
<div class="page">
1616
<h1 class="page-title">{{title}}</h1>
17-
<p class="lead">Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. <a href="{{ site.url }}{{ site.baseurl }}">Head back home</a> to try finding it again.</p>
17+
<p class="lead">Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. <a href="{{ site.baseurl }}">Head back home</a> to try finding it again.</p>
1818
</div>
1919
</div>
2020
</div>

_config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
url: "https://irublev.github.io"
1+
url: "https://irublev.github.io/pgmex-blog"
22
baseurl: "/pgmex-blog"
33
title: PgMex Blog
44
description: >

_includes/archive_post.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ <h3 id="{{ this_year }}-{{ this_month }}-ref">{{ this_month }}</h3>
1010
{% endif %}
1111

1212
<li>
13-
<span class="title"><a href="{{ post.url }}">{{post.title}}</a></span>
13+
<span class="title"><a href="{{ post.url | prepend: site.baseurl }}">{{post.title}}</a></span>
1414
</li>
1515

1616
{% if forloop.last %}

_includes/categories_feed.xml

+5-5
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ layout: nil
55
<feed xmlns="http://www.w3.org/2005/Atom">
66

77
<title><![CDATA[{% if site.titlecase %}{{ page.title | titlecase | cdata_escape }}{% else %}{{ page.title | cdata_escape }}{% endif %} | {{ site.title | cdata_escape }}]]></title>
8-
<link href="{{ site.url }}{{ site.baseurl }}/{{ page.feed_url }}" rel="self"/>
9-
<link href="{{ site.url }}{{ site.baseurl }}/"/>
8+
<link href="{{ site.url }}/{{ page.feed_url }}" rel="self"/>
9+
<link href="{{ site.url }}/"/>
1010
<updated>{{ site.time | date_to_xmlschema }}</updated>
11-
<id>{{ site.url }}{{ site.baseurl }}/</id>
11+
<id>{{ site.url }}/</id>
1212
<author>
1313
<name><![CDATA[{{ site.author | strip_html }}]]></name>
1414
{% if site.email %}<email><![CDATA[{{ site.email }}]]></email>{% endif %}
@@ -18,9 +18,9 @@ layout: nil
1818
{% for post in site.categories[page.category] limit: 5 %}
1919
<entry>
2020
<title type="html"><![CDATA[{% if site.titlecase %}{{ post.title | titlecase | cdata_escape }}{% else %}{{ post.title | cdata_escape }}{% endif %}]]></title>
21-
<link href="{{ site.url }}{{ site.baseurl }}{{ post.url }}"/>
21+
<link href="{{ site.url }}{{ post.url }}"/>
2222
<updated>{{ post.date | date_to_xmlschema }}</updated>
23-
<id>{{ site.url }}{{ site.baseurl }}{{ post.id }}</id>
23+
<id>{{ site.url }}{{ post.id }}</id>
2424
<content type="html"><![CDATA[{{ post.content | expand_urls: site.url | markdownify | cdata_escape }}]]></content>
2525
</entry>
2626
{% endfor %}

_includes/footer-scripts.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script src="https://code.jquery.com/jquery-2.2.2.min.js" integrity="sha256-36cp2Co+/62rEAAYHLmRCPIych47CvdM+uTBJwSzWjI=" crossorigin="anonymous"></script>
22
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
3-
<script src="{{ site.url }}{{ site.baseurl }}/js/main.js"></script>
3+
<script src="{{ site.baseurl }}/js/main.js"></script>
44

55
{% if site.google_analytics %}
66
<script>

_includes/footer.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
Blog content is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.
9292
Unless otherwise stated or granted, code samples licensed under the MIT license.
9393
<br/>
94-
<!-- <a href="{{ site.url }}{{ site.baseurl }}/privacy">privacy</a> | <a href="{{ site.url }}{{ site.baseurl }}/blogtegrity">blogtegrity</a> -->
94+
<!-- <a href="{{ site.baseurl }}/privacy">privacy</a> | <a href="{{ site.baseurl }}/blogtegrity">blogtegrity</a> -->
9595
</p>
9696
<p class="theme-by text-muted">
9797
Site design is based on

_includes/head.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<link rel="alternate" type="application/rss+xml" title="{{ site.title }} - {{ site.description }}" href="http://feeds.feedburner.com/AlliedTesting" />
1919
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
2020
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" integrity="sha384-XdYbMnZ/QjLh6iI4ogqCTaIjrFk87ip+ekIjefZch0Y+PvJ8CDYtEs1ipDmPorQ+" crossorigin="anonymous">
21-
<link rel="stylesheet" href="{{ site.url }}{{ site.baseurl }}/css/main.css">
21+
<link rel="stylesheet" href="{{ site.baseurl }}/css/main.css">
2222
<link href='https://fonts.googleapis.com/css?family=Titillium+Web:400,700' rel='stylesheet' type='text/css'>
2323
{% seo %}
2424
</head>

_includes/nav.html

+6-6
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<span class="icon-bar"></span>
88
<span class="icon-bar"></span>
99
</button>
10-
<a class="navbar-brand" href="{{ site.url }}{{ site.baseurl }}">{{ site.title }}</a>
10+
<a class="navbar-brand" href="{{ site.url }}">{{ site.title }}</a>
1111
</div>
1212
<!-- <div class="navbar-header">
1313
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#main-navbar" area-expanded="false">
@@ -17,21 +17,21 @@
1717
<span class="icon-bar"></span>
1818
</button>
1919
{% if site.title-img and site.subtitle-img %}
20-
<a class="navbar-brand navbar-brand-logo" href="{{ site.url }}{{ site.baseurl }}">
20+
<a class="navbar-brand navbar-brand-logo" href="{{ site.url }}">
2121
<img style=" float:left; display:inline" src="/img/{{ site.title-img }}" hspace=5px/>
2222
<img style=" float:left; display:inline" src="/img/{{ site.subtitle-img }}" hspace=5px/>
2323
</a>
2424
{% elsif site.title-img %}
25-
<a class="navbar-brand navbar-brand-logo" href="{{ site.url }}{{ site.baseurl }}"><img src="/img/{{ site.title-img }}"/></a>
25+
<a class="navbar-brand navbar-brand-logo" href="{{ site.url }}"><img src="/img/{{ site.title-img }}"/></a>
2626
{% else %}
27-
<a class="navbar-brand" href="{{ site.url }}{{ site.baseurl }}">{{ site.title }}</a>
27+
<a class="navbar-brand" href="{{ site.url }}">{{ site.title }}</a>
2828
{% endif %}
2929
</div> -->
3030

3131
<div class="collapse navbar-collapse" id="main-navbar">
3232
<ul class="nav navbar-nav navbar-right">
3333
<li class="sidebar-nav-item{% if page.url == site.url %} active{% endif %}">
34-
<a href="{{ site.url }}{{ site.baseurl }}">Home{% if page.url == site.url %} <span class="sr-only">(current)</span>{% endif %}</a>
34+
<a href="{{ site.url }}">Home{% if page.url == site.url %} <span class="sr-only">(current)</span>{% endif %}</a>
3535
</li>
3636

3737
{% comment %}
@@ -55,7 +55,7 @@
5555
{% if site.gravatar and (layout.show-avatar or page.show-avatar) %}
5656
<div class="avatar-container">
5757
<div class="avatar-img-border">
58-
<a href="{{ site.url }}{{ site.baseurl }}">
58+
<a href="{{ site.url }}">
5959
<img class="avatar-img" src="http://www.gravatar.com/avatar/{{ site.gravatar.hash }}?s={{ site.gravatar.size }}" />
6060
</a>
6161
</div>

_includes/post/comments_link.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
{% assign disqus_identifier = page.disqus_identifier %}
66
{% endif %}
77

8-
<li><span class="fa fa-comment"></span> <a href="{{ post.url }}#disqus_thread"{% if disqus_identifier %} data-disqus-identifier="{{ disqus_identifier }}"{% endif %}> comments</a></li>
8+
<li><span class="fa fa-comment"></span> <a href="{{ post.url | prepend: site.baseurl }}#disqus_thread"{% if disqus_identifier %} data-disqus-identifier="{{ disqus_identifier }}"{% endif %}> comments</a></li>
99
{% endif %}

_layouts/post.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ <h1 class="post-title">{{ page.title }}</h1>
1818
<ul class="pager blog-pager">
1919
{% if page.previous.url %}
2020
<li class="previous">
21-
<a href="{{ page.previous.url | replace: '//', '/' }}" data-toggle="tooltip" data-placement="top" title="{{page.previous.title}}">&larr; Previous Post</a>
21+
<a href="{{ page.previous.url | prepend: site.baseurl | replace: '//', '/' }}" data-toggle="tooltip" data-placement="top" title="{{page.previous.title}}">&larr; Previous Post</a>
2222
</li>
2323
{% endif %}
2424
{% if page.next.url %}
2525
<li class="next">
26-
<a href="{{ page.next.url | replace: '//', '/' }}" data-toggle="tooltip" data-placement="top" title="{{page.next.title}}">Next Post &rarr;</a>
26+
<a href="{{ page.next.url | prepend: site.baseurl | replace: '//', '/' }}" data-toggle="tooltip" data-placement="top" title="{{page.next.title}}">Next Post &rarr;</a>
2727
</li>
2828
{% endif %}
2929
</ul>

about.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ permalink: /about/
66

77
<div style="text-align:center">
88
<a href="{{ site.author.url }}">
9-
<img src="{{ site.url }}{{ site.baseurl }}/img/allied_logo.jpg" class="profile-picture" width="256">
9+
<img src="{{ site.baseurl }}/img/allied_logo.jpg" class="profile-picture" width="256">
1010
</a>
1111
</div>
1212

index.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
<div class="posts-list">
1414
{% for post in paginator.posts %}
1515
<article class="post-preview">
16-
<h2 class="post-title"><a href="{{ post.url }}">{{ post.title }}</a></h2>
16+
<h2 class="post-title"><a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></h2>
1717
{% include post/meta.html %}
1818
<div class="post-entry">
1919
{{ post.content | truncatewords: 50 | strip_html | xml_escape}}
20-
<a href="{{ post.url }}" class="post-read-more">[Read&nbsp;More]</a>
20+
<a href="{{ post.url | prepend: site.baseurl }}" class="post-read-more">[Read&nbsp;More]</a>
2121
</div>
2222

2323
</article>
@@ -28,12 +28,12 @@ <h2 class="post-title"><a href="{{ post.url }}">{{ post.title }}</a></h2>
2828
<ul class="pager main-pager">
2929
{% if paginator.previous_page %}
3030
<li class="previous">
31-
<a href="{{ paginator.previous_page_path | replace: '//', '/' }}">&larr; Newer Posts</a>
31+
<a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">&larr; Newer Posts</a>
3232
</li>
3333
{% endif %}
3434
{% if paginator.next_page %}
3535
<li class="next">
36-
<a href="{{ paginator.next_page_path | replace: '//', '/' }}">Older Posts &rarr;</a>
36+
<a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Older Posts &rarr;</a>
3737
</li>
3838
{% endif %}
3939
</ul>

0 commit comments

Comments
 (0)