From 0ab2b4207a929208c07dff3c4b21f06358870f34 Mon Sep 17 00:00:00 2001 From: Anatol Broder Date: Wed, 28 Aug 2013 09:23:11 +0200 Subject: [PATCH] Add site.repository for the URL on Github. Close #1456 --- Rakefile | 2 +- site/_config.yml | 1 + site/_includes/footer.html | 2 +- site/_includes/primary-nav-items.html | 2 +- site/_includes/top.html | 2 +- .../2013-05-08-jekyll-1-0-1-released.markdown | 2 +- .../2013-05-12-jekyll-1-0-2-released.markdown | 2 +- .../2013-06-07-jekyll-1-0-3-released.markdown | 2 +- .../2013-07-14-jekyll-1-1-0-released.markdown | 4 +- .../2013-07-24-jekyll-1-1-1-released.markdown | 6 +- .../2013-07-25-jekyll-1-0-4-released.markdown | 2 +- .../2013-07-25-jekyll-1-1-2-released.markdown | 2 +- site/docs/contributing.md | 6 +- site/docs/github-pages.md | 4 +- site/docs/history.md | 530 +++++++++--------- site/docs/index.md | 2 +- site/docs/installation.md | 4 +- site/docs/sites.md | 2 +- site/docs/troubleshooting.md | 4 +- 19 files changed, 291 insertions(+), 290 deletions(-) diff --git a/Rakefile b/Rakefile index 52e09c80..6b59335d 100644 --- a/Rakefile +++ b/Rakefile @@ -51,7 +51,7 @@ end def linkify_prs(markdown) markdown.gsub(/#(\d+)/) do |word| - "[#{word}](https://github.com/mojombo/jekyll/issues/#{word.delete("#")})" + "[#{word}]({{ site.repository }}/issues/#{word.delete("#")})" end end diff --git a/site/_config.yml b/site/_config.yml index 286b58fa..962e4390 100644 --- a/site/_config.yml +++ b/site/_config.yml @@ -3,3 +3,4 @@ relative_permalinks: false gauges_id: 503c5af6613f5d0f19000027 permalink: /news/:year/:month/:day/:title excerpt_separator: noifniof3nioaniof3nioafafinoafnoif +repository: https://github.com/mojombo/jekyll diff --git a/site/_includes/footer.html b/site/_includes/footer.html index c9dfb918..d73b10ef 100644 --- a/site/_includes/footer.html +++ b/site/_includes/footer.html @@ -1,7 +1,7 @@