Skip to content

Commit 6876bac

Browse files
SyntaxRulesSyntaxRules
SyntaxRules
authored andcommittedDec 22, 2016
fix(nav): relative paths for travisci
make everything work pretty with travisci
1 parent 912bd44 commit 6876bac

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed
 

‎.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ rvm:
33
- 2.2.5
44

55
install: gem install jekyll html-proofer
6-
script: bundle install && bundle exec jekyll build && htmlproofer ./_site
6+
script: bundle install && bundle exec jekyll build && htmlproofer ./_site --allow-hash-href
77

88
env:
99
global:

‎_includes/articles.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<section id="articles" class="articles">
22
<div class="collection">
33
{% for post in site.posts limit:include.limit %}
4-
<a class="collection-item" href="{{ post.url | prepend: site.url }}">
4+
<a class="collection-item" href="{{ post.url | relative_url }}">
55
<p class="post-link">{{ post.title | escape }}</p>
66
<p class="post-meta gray-text text-lighten-2">
77
{{ post.date | date: "%b %-d, %Y" }}

‎_includes/nav.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<nav>
22
<div class="nav-wrapper">
3-
<a href="{{ site.url }} {{ site.baseurl }}" class="brand-logo">SyntaxRules</a>
3+
<a href="{{ '/' | relative_url }}" class="brand-logo">SyntaxRules</a>
44
<a href="#" data-activates="mobile-demo" class="button-collapse"><i class="material-icons">menu</i></a>
55
<ul class="right hide-on-med-and-down">
66
{% for page in site.nav_pages %}

‎_includes/splash.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
<div class="col s6 offset-s3 m4 offset-m4">
44
<!--TODO: Picture in config-->
55
<img class="circle responsive-img"
6-
src="https://avatars1.githubusercontent.com/u/4117657?v=3&s=460"/>
6+
src="https://avatars1.githubusercontent.com/u/4117657?v=3&s=460"
7+
alt="my avatar"/>
78
</div>
89
<div class="col s1">
910
{% for link in site.media_link %}

‎consulting.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ title: Consulting
44
permalink: /consulting.html
55
---
66

7-
See some of my work at the [project page](/[projects.html).
7+
See some of my work at the [project page](/projects.html).

0 commit comments

Comments
 (0)
Please sign in to comment.