Skip to content

Commit

Permalink
modify baseurl
Browse files Browse the repository at this point in the history
  • Loading branch information
ruanyf committed Aug 25, 2012
1 parent ff86427 commit 2a553d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 43 deletions.
42 changes: 1 addition & 41 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,41 +1 @@
afe: false
auto: false
server: false
server_port: 4000
baseurl: ''
url: http://localhost:4000

source: .
destination: ./_site
plugins: ./_plugins

future: true
lsi: false
pygments: false
markdown: maruku
permalink: date

maruku:
use_tex: false
use_divs: false
png_engine: blahtex
png_dir: images/latex
png_url: /images/latex

rdiscount:
extensions: []

kramdown:
auto_ids: true,
footnote_nr: 1
entity_output: as_char
toc_levels: 1..6
use_coderay: false

coderay:
coderay_wrap: div
coderay_line_numbers: inline
coderay_line_numbers_start: 1
coderay_tab_width: 4
coderay_bold_every: 10
coderay_css: style
baseurl: /Jekyll_demo
3 changes: 1 addition & 2 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
layout: default
project_name: Jekell_demo
title: 我的Blog
---

Expand All @@ -10,6 +9,6 @@ <h2>{{ page.title }}</h2>

<ul>
{% for post in site.posts %}
<li>{{ post.date | date_to_string }} <a href="{{ page.project_name }}{{ post.url }}">{{ post.title }}</a></li>
<li>{{ post.date | date_to_string }} <a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></li>
{% endfor %}
</ul>

0 comments on commit 2a553d3

Please sign in to comment.