Skip to content

Commit

Permalink
Trying to fix github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
etki committed Aug 4, 2017
1 parent deeee60 commit 7a2d977
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Rakefile
Expand Up @@ -85,7 +85,7 @@ task :gemspec do
end

task :jekyll do
sh 'bundle exec jekyll serve -s docs/ -d docs/_site/'
sh 'bundle exec jekyll serve -s docs/ -d docs/_site/ --baseurl /entity-mapper'
end

task :default do
Expand Down
6 changes: 3 additions & 3 deletions docs/_includes/head.html
Expand Up @@ -6,10 +6,10 @@
<title>{{ site.title | escape }}{% if page.title %} - {{ page.title | escape }}{% endif %}</title>
<meta name="description" content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape }}">

<link rel="stylesheet" href="{{ site.baseurl | "/assets/main.css" | relative_url }}">
<link rel="canonical" href="{{ site.baseurl | append: page.url | replace: 'index.html', '' | absolute_url }}">
<link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
<link rel="canonical" href="{{ append: page.url | replace: 'index.html', '' | absolute_url }}">

{% if jekyll.environment == 'production' and site.google_analytics %}
{% include google-analytics.html %}
{% endif %}
</head>
</head>

0 comments on commit 7a2d977

Please sign in to comment.