Skip to content

robazza/MartinThoma.github.io

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prerequisites

  • git clone [email protected]:MartinThoma/MartinThoma.github.io.git --recursive to get the blog data
  • pip install -r requirements.txt --user to install the required software
  • make html-local and make serve to see the result on http://127.0.0.1:8000/

TODO

Improve

  • Site speed
    • Minify results
    • Combine CSS / JS files
    • Remove JS files if possible
    • Remove parts of JS that are not used
  • Excerpts

Testen

  • WordPress "Caption" tags
  • RSS Feed

Required

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

Install

See http://martin-thoma.com/jekyll-and-git/

Sublime

The following snippets help to create new articles fast. To install them, go to "Tools → New Snippet..." in Sublime Text&nsp;3.

blog-article

<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>

caption-tag

<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>

gallery-tag

About

This repository contains my static website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 45.0%
  • CSS 19.1%
  • HTML 14.3%
  • Python 8.7%
  • TeX 8.2%
  • PHP 2.0%
  • Other 2.7%