Skip to content

Instantly share code, notes, and snippets.

Avatar

Ivo Mynttinen ivomynttinen

View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am ivomynttinen on github.
  • I am dsndrq (https://keybase.io/dsndrq) on keybase.
  • I have a public key ASDH3Rx5-bVlCx7ZE5PtrbtG1W82Cu85_X-Zs8bvrFSyWAo

To claim this, I am signing this object:

View keybase.md

Keybase proof

I hereby claim:

  • I am ivomynttinen on github.
  • I am dsndrq (https://keybase.io/dsndrq) on keybase.
  • I have a public key ASDH3Rx5-bVlCx7ZE5PtrbtG1W82Cu85_X-Zs8bvrFSyWAo

To claim this, I am signing this object:

View genesis_public_key
04c23dd3fcaaadc6ead8faac9f11e96488b8423a45dc3af39216fa4adac7a15ae95b70f456c0200baae7379de47f967329687fe3af57f663818b50fd2cbe8f37b3
@ivomynttinen
ivomynttinen / srcset.php
Last active Feb 7, 2017
Kirby CMS Tag for srcset images. Supports the attributes "retina" (file name of the @2x resource), "alt" (alt text on img), "class" (additional class on the img element). Place under /site/tags/
View srcset.php
<?php
kirbytext::$tags['srcset'] = array(
'attr' => array(
'retina',
'alt',
'class'
),
'html' => function($tag) {