Coder Social home page Coder Social logo

gauthiernpn / martinthoma.github.io Goto Github PK

View Code? Open in Web Editor NEW

This project forked from martinthoma/martinthoma.github.io

0.0 0.0 0.0 1.74 GB

This repository contains my static website

Home Page: http://martin-thoma.com

Makefile 1.78% Python 8.53% CSS 19.18% Shell 0.88% HTML 14.30% ApacheConf 0.04% JavaScript 45.11% TeX 8.21% PHP 1.98%

martinthoma.github.io's Introduction

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

martinthoma.github.io's People

Contributors

martinthoma avatar hediet avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.