diff options
author | Julio Capote <jcapote@gmail.com> | 2023-01-24 03:20:47 +0000 |
---|---|---|
committer | Julio Capote <jcapote@gmail.com> | 2023-01-24 03:20:47 +0000 |
commit | f24f2d15275961f1c0144e68fde75a60aeaaa165 (patch) | |
tree | 38be1626f3ade436fbd17eadb2753fa2f0effb37 /themes/even/layouts/shortcodes | |
parent | bf04383b34c4a4fdfe239de2805a30a051921002 (diff) | |
download | capotej.com-f24f2d15275961f1c0144e68fde75a60aeaaa165.tar.gz |
move to bear theme
Diffstat (limited to 'themes/even/layouts/shortcodes')
-rw-r--r-- | themes/even/layouts/shortcodes/center.html | 3 | ||||
-rw-r--r-- | themes/even/layouts/shortcodes/left.html | 3 | ||||
-rw-r--r-- | themes/even/layouts/shortcodes/music.html | 62 | ||||
-rw-r--r-- | themes/even/layouts/shortcodes/right.html | 3 |
4 files changed, 0 insertions, 71 deletions
diff --git a/themes/even/layouts/shortcodes/center.html b/themes/even/layouts/shortcodes/center.html deleted file mode 100644 index e9022d0..0000000 --- a/themes/even/layouts/shortcodes/center.html +++ /dev/null @@ -1,3 +0,0 @@ -<div class='align-center'> - {{ .Inner }} -</div>
\ No newline at end of file diff --git a/themes/even/layouts/shortcodes/left.html b/themes/even/layouts/shortcodes/left.html deleted file mode 100644 index c2c5102..0000000 --- a/themes/even/layouts/shortcodes/left.html +++ /dev/null @@ -1,3 +0,0 @@ -<div class='align-left'> - {{ .Inner }} -</div>
\ No newline at end of file diff --git a/themes/even/layouts/shortcodes/music.html b/themes/even/layouts/shortcodes/music.html deleted file mode 100644 index 22b2268..0000000 --- a/themes/even/layouts/shortcodes/music.html +++ /dev/null @@ -1,62 +0,0 @@ - {{/* - ## Music 163 - - ### Params: - - - `id` - - required param - you can extract from music url - url format "http://music.163.com/#/song?id=3950552" - - - Fiddle `auto` - - optional param - default value 0 - you can overwrite it with 1 - - ### Examples: - - - Simple - - {{% music "3950552" %}} - {{% music "3950552" "1" %}} - - - Named Params - - {{% music id="3950552" %}} - {{% music id="3950552" auto="1" %}} - - */}} - - {{- /* DEFAULTS */ -}} - {{ $auto := "0" }} - - {{- if .IsNamedParams -}} - - <iframe style="max-width: 100%" - class="music163" - frameborder="no" - border="0" - marginwidth="0" - marginheight="0" - width="330" - height="86" - src="//music.163.com/outchain/player?type=2&id={{ .Get "id" }}&auto={{ or (.Get "auto") $auto }}&height=66"> - </iframe> - - {{- else -}} - - <iframe style="max-width: 100%" - class="music163" - frameborder="no" - border="0" - marginwidth="0" - marginheight="0" - width="330" - height="86" - src="//music.163.com/outchain/player?type=2&id={{ .Get 0 }}&auto={{ if isset .Params 1 }}{{ .Get 1 }}{{ else }}{{ $auto }}{{ end }}&height=66"> - </iframe> - - {{- end -}} -
\ No newline at end of file diff --git a/themes/even/layouts/shortcodes/right.html b/themes/even/layouts/shortcodes/right.html deleted file mode 100644 index 37a9a33..0000000 --- a/themes/even/layouts/shortcodes/right.html +++ /dev/null @@ -1,3 +0,0 @@ -<div class='align-right'> - {{ .Inner }} -</div>
\ No newline at end of file |