From 39db0efe7974e91b0f9cb72b06641105635410d1 Mon Sep 17 00:00:00 2001 From: Andrew Lee <andytaelee@gmail.com> Date: Sun, 11 Sep 2016 00:23:18 -0400 Subject: [PATCH] Add functioning Blog links --- _config.yml | 2 +- _includes/footer.html | 2 +- _includes/header.html | 2 +- blog.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/_config.yml b/_config.yml index 21aad97..dcd4390 100644 --- a/_config.yml +++ b/_config.yml @@ -16,7 +16,7 @@ subtitle: "A free HTML5 agency template" # root of your server. # baseurl: "/" # the subpath of your site # url: "http://luminousrubyist.github.io" # the base hostname & protocol for your site -baseurl: "/" +# baseurl: "/" cover: "/assets/cover.png" logo: "/assets/logo.png" diff --git a/_includes/footer.html b/_includes/footer.html index d4a1c8b..8b1033e 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -8,7 +8,7 @@ <li><a href="#">About Us</a></li> <li><a href="/contact">Contact us</a></li> <li><a href="#">How it works</a></li> - <li><a href="#">Blog</a></li> + <li><a href="/blog">Blog</a></li> <li><a href="#">Terms</a></li> </ul> </div> diff --git a/_includes/header.html b/_includes/header.html index 7d21917..30e0f91 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -23,7 +23,7 @@ <ul class="nav navbar-nav navbar-right"> <li><a href="/">Home</a></li> <li><a href="/work">Work</a></li> - <li><a href="#">Blog</a></li> + <li><a href="/blog">Blog</a></li> <li><a href="#">Service</a></li> <li><a href="/contact">Contact</a></li> </ul> diff --git a/blog.html b/blog.html index de4a127..8aca6d2 100644 --- a/blog.html +++ b/blog.html @@ -18,7 +18,7 @@ permalink: /blog/ </section> {% for post in site.posts %} <div class="post-area"> - <a href="#" class="bold">{{ post.title }}</a> + <a href="{{ post.url | prepend: site.baseurl }}" class="bold">{{ post.title }}</a> <p class="post-date">{{ post.date | date_to_long_string }}</p> <p> {{ post.content | strip_html | truncatewords: 50 }} -- GitLab