From 6686e53530c97b7c5b6b7b0cd132aaf0f07d816f Mon Sep 17 00:00:00 2001 From: ines Date: Tue, 24 Oct 2017 15:51:24 +0200 Subject: [PATCH] Allow GitHub embeds to specify optional language --- website/_includes/_mixins.jade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/_includes/_mixins.jade b/website/_includes/_mixins.jade index 414ee809e..b7375e2e0 100644 --- a/website/_includes/_mixins.jade +++ b/website/_includes/_mixins.jade @@ -181,7 +181,7 @@ mixin codepen(slug, height, default_tab) alt_file - [string] alternative file path used in footer and link button height - [integer] height of code preview in px -mixin github(repo, file, alt_file, height) +mixin github(repo, file, alt_file, height, language) - var branch = ALPHA ? "develop" : "master" - var height = height || 250