Tag Info

Hot answers tagged

1

Breno Salgado posted this simple Jekyll plugin on StackOverflow: ./_plugins/markdown_tag.rb: module Jekyll class MarkdownTag < Liquid::Tag def initialize(tag_name, text, tokens) super @text = text.strip end require "kramdown" def render(context) "#{Kramdown::Document.new(File.read(File.join(Dir.pwd, '_includes', ...


1

GitHub allows you to create a custom 404 page but there is a caveat. The 404 will be displayed only if you use a custom domain or for user pages. Custom 404s only work when they are served from the root of a Pages domain, for example a project using a custom domain or a user pages repository. A custom 404 page on project pages that are not using a custom ...


1

According to the GitHub documentation on custom 404s you are out of luck: Custom 404s only work when they are served from the root of a Pages domain, for example a project using a custom domain or a user pages repository. It looks like sub-folders are not supported. Only the root folder.


1

You should be fine if you use 301 redirects and update all the internal links. Several years ago, I moved my most popular page to its own sub-domain and then expanded it into an entire mini-site on that sub-domain. During that process, it continued to receive search engine referrals uninterrupted.


1

See Fork a repo / Clone your fork.


1

Almost all feed readers will follow redirects when fetching feeds. You should be able modify your .htaccess file to redirect the old url to the new. Redirect 301 /feed http://carlboettiger.info/atom.xml



Only top voted, non community-wiki answers of a minimum length are eligible