mirror of
https://github.com/softinio/softinio.com.git
synced 2025-09-03 10:36:42 -07:00
Switched to SPF13 theme
This commit is contained in:
parent
dc8f68529f
commit
6425fec733
286 changed files with 3612 additions and 6951 deletions
18
layouts/shortcodes/img.html
Normal file
18
layouts/shortcodes/img.html
Normal file
|
@ -0,0 +1,18 @@
|
|||
<!-- image -->
|
||||
<figure {{ with .Get "class" }}class="{{.}}"{{ end }}>
|
||||
{{ with .Get "link"}}<a href="{{.}}">{{ end }}
|
||||
<img src="{{ .Get "src" }}" {{ if or (.Get "alt") (.Get "caption") }}alt="{{ with .Get "alt"}}{{.}}{{else}}{{ .Get "caption" }}{{ end }}"{{ end }} />
|
||||
{{ if .Get "link"}}</a>{{ end }}
|
||||
{{ if or (or (.Get "title") (.Get "caption")) (.Get "attr")}}
|
||||
<figcaption>{{ if isset .Params "title" }}
|
||||
<h4>{{ .Get "title" }}</h4>{{ end }}
|
||||
{{ if or (.Get "caption") (.Get "attr")}}<p>
|
||||
{{ .Get "caption" }}
|
||||
{{ with .Get "attrlink"}}<a href="{{.}}"> {{ end }}
|
||||
{{ .Get "attr" }}
|
||||
{{ if .Get "attrlink"}}</a> {{ end }}
|
||||
</p> {{ end }}
|
||||
</figcaption>
|
||||
{{ end }}
|
||||
</figure>
|
||||
<!-- image -->
|
1
layouts/shortcodes/scribd.html
Normal file
1
layouts/shortcodes/scribd.html
Normal 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
Normal file
3
layouts/shortcodes/slideshare.html
Normal 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
Normal file
1
layouts/shortcodes/speakerdeck.html
Normal 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
Normal file
3
layouts/shortcodes/vimeo.html
Normal 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
Normal file
4
layouts/shortcodes/youtube.html
Normal 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