diff --git a/_config-local.yml b/_config-local.yml new file mode 100644 index 000000000..69acb0f8b --- /dev/null +++ b/_config-local.yml @@ -0,0 +1,57 @@ +# Jekyll configuration + +name: Geozak's Blog +description: Software Developer + +# Url is currently only used only for the RSS feed in feed.xml +#url: http://blog.dev +url: http://localhost:4000 + +# For a project page here should be a project name. Otherwise (for user's/organizaion's page leave it empty) +baseurl: '' + +share: + facebook: true + twitter: true + gplus: true + linkedin: true + pinterest: true + email: true + +social: + github: geozak + stackoverflow: '' + linkedin: '' + instagram: '' + lastfm: '' + rss: feed.xml + +# Google Analytics key, leave blank to ignore +google_analytics_key: +# Yandex metrika (https://metrica.yandex.com/) leave blank to ignore or put true to use +yandex_metrica: + + +# Set this to your disqus shortname to enable comments. Note that the 'comments' +# setting below must also be true. Individual posts can override 'comments' to +# disable on a post-by-post basis +disqus: +comments: false + +permalink: /:year/:month/:title + +# Enable for using pages, more details are here: http://jekyllrb.com/docs/pagination/ +#paginate: 3 + +#highlighter: rouge + +markdown: kramdown +kramdown: + input: GFM # Enable GitHub Flavored Markdown (fenced code blocks) + hard_wrap: true + +exclude: ['README.md', 'LICENSE', 'prep-tags-for-git.sh'] + +include: [.htaccess] + +destination: public diff --git a/_config.yml b/_config.yml index d9335ce96..e32f3e5c1 100644 --- a/_config.yml +++ b/_config.yml @@ -5,11 +5,8 @@ description: Software Developer # Url is currently only used only for the RSS feed in feed.xml url: https://geozak.github.io -#url: http://jekyll.dev -#url: http://localhost:4000 # For a project page here should be a project name. Otherwise (for user's/organizaion's page leave it empty) -#baseurl: '' baseurl: '/jekyll-clean-dark' share: @@ -23,7 +20,7 @@ share: social: github: geozak stackoverflow: '' - linkedin: + linkedin: '' instagram: '' lastfm: '' rss: feed.xml @@ -52,8 +49,4 @@ kramdown: input: GFM # Enable GitHub Flavored Markdown (fenced code blocks) hard_wrap: true -exclude: ['README.md', 'LICENSE'] - -include: [.htaccess] - -destination: public +exclude: ['README.md', 'LICENSE', 'prep-tags-for-git.sh', '.htaccess'] diff --git a/prep-tags-for-git.sh b/prep-tags-for-git.sh new file mode 100644 index 000000000..ebce5bf3c --- /dev/null +++ b/prep-tags-for-git.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +rm -rf tag/ +jekyll build +cp -r _site/tag ./ +git reset HEAD tag/* +git add -f tag/ +git update-index --assume-unchanged tag/*/* +rm -rf tag/ +rm -r _site/ \ No newline at end of file