git clone [email protected]:MartinThoma/MartinThoma.github.io.git --recursive
to get the blog datapip install -r requirements.txt --user
to install the required softwaremake html-local
andmake serve
to see the result on http://127.0.0.1:8000/
linkchecker https://martin-thoma.com -F csv
- add pagination for category pages / tag pages
- Semantic anchors created by TOC
- Newlines
- e.g. 2013-03-16-c-puzzle-3.html (http://martinthoma.github.io/c-puzzle-3/)
- Don't check for Latex (
$...$ ) inside of highlight environment or fenced code blocks (Abostrophes):- http://martinthoma.github.io/c-puzzle-3/
- http://martin-thoma.com/plotting-graphs-with-pgfplots-latex-and-tikz/
- http://martin-thoma.com/semantische-sicherheit/
- http://martin-thoma.com/how-to-search-for-mathematical-symbols-in-latex/
- http://martin-thoma.com/latex-versioning-a-great-experience/
- All posts tagged with "PHP"
- Markdown rendered within fenced code tag: http://martin-thoma.com/how-to-print-source-code-with-latex/
- Fix posts:
- Apply CSS Rules from CSS Wizardry
- Site speed
- Minify results
- Combine CSS / JS files
- Remove JS files if possible
- Remove parts of JS that are not used
- Excerpts
- WordPress "Caption" tags
- RSS Feed
First:
sudo apt-get install rubygems ruby-dev libmagickwand-dev
Although there is a jekyll
package on Debian-Systems, you should not install it. Rather do it this way:
Then
sudo gem install juicer jekyll dimensions rmagick
sudo juicer install jslint
sudo juicer install yui_compressor
See http://martin-thoma.com/jekyll-and-git/
The following snippets help to create new articles fast. To install them, go to "Tools → New Snippet..." in Sublime Text&nsp;3.
<snippet>
<content><![CDATA[
---
layout: post
title: ${1:}
slug: ${2:}
author: Martin Thoma
status: draft
date: ${3:2016}-${4:04}-${5:31} 20:00
category: ${6:Cyberculture}
tags: ${7:Rating}
featured_image: logos/${8:star.png}
---
${9:}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>---</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
</snippet>
<snippet>
<content><![CDATA[
{% caption align="aligncenter" width="500" alt="${1:text}" text="${1:text}" url="../images/2015/01/${2:image.png}" %}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>captiontag</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
</snippet>