diff --git a/Rakefile b/Rakefile index 97af373b31..e936202c3a 100644 --- a/Rakefile +++ b/Rakefile @@ -11,12 +11,6 @@ task :publish => [:clean] do sh "nanoc compile" - # this should not be necessary, but I can't figure out how to - # just keep a goddamn static file in the root with nanoc - File.open("output/CNAME", 'w+') do |f| - f.puts("developer.github.com") - end - ENV['GIT_DIR'] = File.expand_path(`git rev-parse --git-dir`.chomp) old_sha = `git rev-parse refs/remotes/origin/gh-pages`.chomp Dir.chdir('output') do diff --git a/Rules b/Rules index c56a0eb86c..07124fa513 100644 --- a/Rules +++ b/Rules @@ -13,6 +13,9 @@ compile '/static/*' do end +compile '/CNAME/' do +end + compile '*' do filter :erb filter :kramdown @@ -25,6 +28,10 @@ route '/static/*' do item.identifier[7..-2] end +route '/CNAME/' do + '/CNAME' +end + route '*' do item.identifier + 'index.html' end diff --git a/content/CNAME b/content/CNAME new file mode 100644 index 0000000000..82c2e93c12 --- /dev/null +++ b/content/CNAME @@ -0,0 +1 @@ +developer.github.com pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy