first commit
This commit is contained in:
commit
13e2fd6e74
125 changed files with 19943 additions and 0 deletions
11
layouts/shortcodes/ghStarred.html
Executable file
11
layouts/shortcodes/ghStarred.html
Executable 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}} · Forks: {{$p.forks_count}} · Size: {{$p.size}} · Type: {{$p.language}} <br />
|
||||
{{ $p.description }}</p>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
2
layouts/shortcodes/highlight.html
Executable file
2
layouts/shortcodes/highlight.html
Executable file
|
@ -0,0 +1,2 @@
|
|||
{{ $lang := index .Params 0 }}
|
||||
{{ highlight .Inner $lang "" }}
|
1
layouts/shortcodes/img.html
Executable file
1
layouts/shortcodes/img.html
Executable file
|
@ -0,0 +1 @@
|
|||
<img src="{{ index .Params "src" }}" />
|
1
layouts/shortcodes/scribd.html
Executable file
1
layouts/shortcodes/scribd.html
Executable 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>
|
3
layouts/shortcodes/slideshare.html
Executable file
3
layouts/shortcodes/slideshare.html
Executable 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>
|
1
layouts/shortcodes/speakerdeck.html
Executable file
1
layouts/shortcodes/speakerdeck.html
Executable 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
3
layouts/shortcodes/vimeo.html
Executable 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>
|
4
layouts/shortcodes/youtube.html
Executable file
4
layouts/shortcodes/youtube.html
Executable 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>
|
Loading…
Add table
Add a link
Reference in a new issue