Skip to content

Instantly share code, notes, and snippets.

View jekyll-video-embed.rb
class Video < Liquid::Tag
Syntax = /^\s*([^\s]+)(\s+(\d+)\s+(\d+)\s*)?/
def initialize(tagName, markup, tokens)
super
@url = Jekyll.configuration({})['url'] || 'http://example.com'
if markup =~ Syntax then
@id = $1
@jeauxlb
jeauxlb / gallery_creator.py
Last active Jan 12, 2018 — forked from opieters/gallery_creator.py
Python script to generate configuration for a lightGallery photo gallery in Jekyll.
View gallery_creator.py
You can’t perform that action at this time.