Skip to content

Commit

Permalink
base url
Browse files Browse the repository at this point in the history
  • Loading branch information
adriaanm committed Mar 26, 2014
1 parent 3df5773 commit 8dba297
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions _config.yml
Expand Up @@ -5,6 +5,5 @@ markdown: redcarpet
encoding: utf-8
redcarpet:
extensions: ["no_intra_emphasis", "fenced_code_blocks", "autolink", "tables", "with_toc_data", "strikethrough", "lax_spacing", "space_after_headers", "superscript", "footnotes"]

# baseurl: /my-site-name
baseurl: /scala-ref-markdown/
# permalink: /docs/:title.html
2 changes: 1 addition & 1 deletion index.md
Expand Up @@ -6,7 +6,7 @@ layout: default
<ul>
{% for post in site.pages %}
<li>
<a href="{{ post.url }}">{{ post.title }}</a>
<a href="{{site.baseurl}}{{ post.url }}">{{ post.title }}</a>
</li>
{% endfor %}
</ul>
Expand Down

0 comments on commit 8dba297

Please sign in to comment.