first commit

This commit is contained in:
Jeremy Kidwell 2017-06-26 20:57:02 +01:00
commit 13e2fd6e74
125 changed files with 19943 additions and 0 deletions

View file

@ -0,0 +1,11 @@
<ul class="compact fa-ul">
{{ $url := .Get "url" }}
{{ range getJSON $url }}
{{ $p := . }}
<li>
<p><strong><a href="{{ $p.html_url }}" target="_blank">{{ $p.name }}:</a></strong>
Stars: {{$p.stargazers_count}} &middot; Forks: {{$p.forks_count}} &middot; Size: {{$p.size}} &middot; Type: {{$p.language}} <br />
{{ $p.description }}</p>
</li>
{{ end }}
</ul>

View file

@ -0,0 +1,2 @@
{{ $lang := index .Params 0 }}
{{ highlight .Inner $lang "" }}

1
layouts/shortcodes/img.html Executable file
View file

@ -0,0 +1 @@
<img src="{{ index .Params "src" }}" />

1
layouts/shortcodes/scribd.html Executable file
View file

@ -0,0 +1 @@
<iframe class="scribd_iframe_embed" src="http://www.scribd.com/embeds/{{ index .Params 0 }}/content?start_page=1&view_mode=scroll&show_recommendations=false" data-auto-height="false" data-aspect-ratio="undefined" scrolling="no" id="doc_78753" width="100%" height="600" frameborder="0"></iframe>

View file

@ -0,0 +1,3 @@
<div class="embed slideshare">
<iframe src="http://www.slideshare.net/slideshow/embed_code/{{ index .Params 0 }}?rel=0" width="599" height="487" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" style="border:1px solid #CCC;border-width:1px 1px 0;margin-bottom:5px" allowfullscreen webkitallowfullscreen mozallowfullscreen> </iframe>
</div>

View file

@ -0,0 +1 @@
<script async class="speakerdeck-embed" data-id="{{ index .Params 0 }}" data-ratio="1.33333333333333" src="//speakerdeck.com/assets/embed.js"></script>

3
layouts/shortcodes/vimeo.html Executable file
View file

@ -0,0 +1,3 @@
<div class="embed video-player">
<iframe src="http://player.vimeo.com/video/{{ index .Params 0 }}" width="640" height="385" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
</div>

View file

@ -0,0 +1,4 @@
<div class="embed video-player">
<iframe class="youtube-player" type="text/html" width="640" height="385" src="http://www.youtube.com/embed/{{ index .Params 0 }}" allowfullscreen frameborder="0">
</iframe>
</div>