tpl: Remove the shortcode assets for now - hugo - [fork] hugo port for 9front
 (HTM) git clone git@git.drkhsh.at/hugo.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Submodules
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 0bf0e1972df01cb3c5cff21b1accbbff55a6a475
 (DIR) parent 1f244b802eaabb119d38dae00a8c2bbbd3263752
 (HTM) Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
       Date:   Fri, 25 May 2018 14:34:40 +0200
       
       tpl: Remove the shortcode assets for now
       
       Not in use.
       
       Diffstat:
         M tpl/tplimpl/embedded/templates.aut… |      42 ++-----------------------------
         D tpl/tplimpl/embedded/templates/sho… |      37 -------------------------------
       
       2 files changed, 2 insertions(+), 77 deletions(-)
       ---
 (DIR) diff --git a/tpl/tplimpl/embedded/templates.autogen.go b/tpl/tplimpl/embedded/templates.autogen.go
       @@ -243,44 +243,6 @@ if (!doNotTrack) {
        <!-- Output all taxonomies as schema.org keywords -->
        <meta itemprop="keywords" content="{{ if .IsPage}}{{ range $index, $tag := .Params.tags }}{{ $tag }},{{ end }}{{ else }}{{ range $plural, $terms := .Site.Taxonomies }}{{ range $term, $val := $terms }}{{ printf "%s," $term }}{{ end }}{{ end }}{{ end }}" />
        {{ end }}`},
       -        {`shortcodes/__h_simple_assets.html`, `{{ define "__h_simple_css" }}{{/* These template definitions are global. */}}
       -{{/* TODO(bep) rename this to Youtube something. We need to add these per service. */}}
       -{{ if not (.Page.Scratch.Get "__h_simple_css") }}
       -{{/* Only include once */}}
       -{{  .Page.Scratch.Set "__h_simple_css" true }}
       -<style>
       -.__h_youtube {
       -   position: relative;
       -   padding-bottom: 56.23%;
       -   height: 0;
       -   overflow: hidden;
       -   max-width: 100%;
       -   background: #000;
       -   margin: 5px;
       -}
       -.__h_youtube img {
       -   max-width: 100%;
       -   height: auto;
       -   color: #000;
       -}
       -.__h_youtube .play {
       -   height: 72px;
       -   width: 72px;
       -   left: 50%;
       -   top: 50%;
       -   margin-left: -36px;
       -   margin-top: -36px;
       -   position: absolute;
       -   cursor: pointer;
       -}
       -</style>
       -{{ end }}
       -{{ end }}
       -
       -{{- define "__h_simple_icon_play" -}}
       -M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z
       -{{- end -}}
       -`},
                {`shortcodes/figure.html`, `<!-- image -->
        <figure{{ with .Get "class" }} class="{{.}}"{{ end }}>
            {{ if .Get "link"}}<a href="{{ .Get "link" }}"{{ with .Get "target" }} target="{{ . }}"{{ end }}{{ with .Get "rel" }} rel="{{ . }}"{{ end }}>{{ end }}
       @@ -343,8 +305,8 @@ M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.5
        {{  .Page.Scratch.Set "__h_simple_instagram_css" true }}
        <style type="text/css">
           .__h_instagram.card {
       -             font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
       -             font-size: 14px;
       +      font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
       +      font-size: 14px;
              border: 1px solid rgb(219, 219, 219);
              padding: 0;
                  margin-top: 30px;
 (DIR) diff --git a/tpl/tplimpl/embedded/templates/shortcodes/__h_simple_assets.html b/tpl/tplimpl/embedded/templates/shortcodes/__h_simple_assets.html
       @@ -1,37 +0,0 @@
       -{{ define "__h_simple_css" }}{{/* These template definitions are global. */}}
       -{{/* TODO(bep) rename this to Youtube something. We need to add these per service. */}}
       -{{ if not (.Page.Scratch.Get "__h_simple_css") }}
       -{{/* Only include once */}}
       -{{  .Page.Scratch.Set "__h_simple_css" true }}
       -<style>
       -.__h_youtube {
       -   position: relative;
       -   padding-bottom: 56.23%;
       -   height: 0;
       -   overflow: hidden;
       -   max-width: 100%;
       -   background: #000;
       -   margin: 5px;
       -}
       -.__h_youtube img {
       -   max-width: 100%;
       -   height: auto;
       -   color: #000;
       -}
       -.__h_youtube .play {
       -   height: 72px;
       -   width: 72px;
       -   left: 50%;
       -   top: 50%;
       -   margin-left: -36px;
       -   margin-top: -36px;
       -   position: absolute;
       -   cursor: pointer;
       -}
       -</style>
       -{{ end }}
       -{{ end }}
       -
       -{{- define "__h_simple_icon_play" -}}
       -M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z
       -{{- end -}}