1
0
Fork 0

Go [sic!] with Hugo pipes! This is YUUUUGE

This commit is contained in:
Sebastian Schulze 2020-07-10 01:47:59 +02:00
parent 93881d0d2b
commit 3b91ddd6fe
Signed by: bascht
GPG Key ID: 5BCB1D3B4D38A35A
8 changed files with 7 additions and 80 deletions

View File

@ -1,6 +1,6 @@
<a href="{{.Permalink}}" class="summary instagram_image">
<h2 class="p-name"><span class="social_logo">{{ partial "social_logo" . }}</span>{{.Title | default "Untitled" }}</h2>
<p><img alt="Instagram Photo: {{ .Params.title }}" src="{{ .Params.media_url }}" ></p>
<p><img alt="Instagram Photo: {{ .Params.title }}" src="https://img.bascht.com/proxy/300,webp/{{ .Params.media_url }}" ></p>
<small>{{ .Date.Format "January, 02th 2006" }}</small>
<a class="hidden u-syndication syn-link" rel="syndication" href="{{ .Params.original_url }}">{{ .Params.original_url }}</a>
</a>

View File

@ -1,6 +1,6 @@
<a class="u-url mastodon_toot" href="{{.Permalink}}">
<h2 class="p-name">{{ partial "social_logo" . }} {{.Title}}</h2>
{{ if .Params.media_url }}<p><img src="{{ .Params.media_url }}" ></p>{{ end }}
{{ if .Params.media_url }}<p><img src="https://img.bascht.com/proxy/300,400,sc,webp/{{ .Params.media_url }}" ></p>{{ end }}
<small>{{ .Date.Format "January, 02th 2006" }}</small>
<a class="hidden u-syndication syn-link" rel="syndication" href="{{ .Params.original_url }}">{{ .Params.original_url }}</a>
</a>

View File

@ -8,12 +8,11 @@
<title>{{ .Title }}</title>
<meta name="description" content="{{if .IsHome}}{{ $.Site.Params.description }}{{else}}{{.Description}}{{end}}" />
<link rel="preload" href="{{ .Site.BaseURL }}/fonts/woff/FiraSans-Regular.woff" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="{{ .Site.BaseURL }}/fonts/woff/FiraSans-Bold.woff" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="{{ .Site.BaseURL }}/fonts/woff/roboto_slab.woff" as="font" type="font/woff2" crossorigin>
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/normalize.min.css">
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/main.css">
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/bascht.com.css">
<link rel="preload" href="{{ .Site.BaseURL }}fonts/woff/FiraSans-Regular.woff" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="{{ .Site.BaseURL }}fonts/woff/FiraSans-Bold.woff" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="{{ .Site.BaseURL }}fonts/woff/roboto_slab.woff" as="font" type="font/woff2" crossorigin>
{{ $css := resources.Match "css/**.css" | resources.Concat "combined.css" | minify | fingerprint -}}
<link rel="stylesheet" href="{{ $css.Permalink }}">
<link rel="authorization_endpoint" href="https://indieauth.com/auth">
<link rel="token_endpoint" href="https://tokens.indieauth.com/token">
<link rel="webmention" href="https://webmention.io/bascht.com/webmention" />

View File

@ -1,71 +0,0 @@
/* Background */ .chroma { background-color: #ffffff }
/* Error */ .chroma .err { color: #ff0000; background-color: #ffaaaa }
/* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
/* LineTable */ .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; width: auto; overflow: auto; display: block; }
/* LineHighlight */ .chroma .hl { display: block; width: 100%;background-color: #ffffcc }
/* LineNumbersTable */ .chroma .lnt { margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
/* LineNumbers */ .chroma .ln { margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
/* Keyword */ .chroma .k { color: #008800; font-weight: bold }
/* KeywordConstant */ .chroma .kc { color: #008800; font-weight: bold }
/* KeywordDeclaration */ .chroma .kd { color: #008800; font-weight: bold }
/* KeywordNamespace */ .chroma .kn { color: #008800; font-weight: bold }
/* KeywordPseudo */ .chroma .kp { color: #003388; font-weight: bold }
/* KeywordReserved */ .chroma .kr { color: #008800; font-weight: bold }
/* KeywordType */ .chroma .kt { color: #333399; font-weight: bold }
/* NameAttribute */ .chroma .na { color: #0000cc }
/* NameBuiltin */ .chroma .nb { color: #007020 }
/* NameClass */ .chroma .nc { color: #bb0066; font-weight: bold }
/* NameConstant */ .chroma .no { color: #003366; font-weight: bold }
/* NameDecorator */ .chroma .nd { color: #555555; font-weight: bold }
/* NameEntity */ .chroma .ni { color: #880000; font-weight: bold }
/* NameException */ .chroma .ne { color: #ff0000; font-weight: bold }
/* NameFunction */ .chroma .nf { color: #0066bb; font-weight: bold }
/* NameLabel */ .chroma .nl { color: #997700; font-weight: bold }
/* NameNamespace */ .chroma .nn { color: #0e84b5; font-weight: bold }
/* NameTag */ .chroma .nt { color: #007700 }
/* NameVariable */ .chroma .nv { color: #996633 }
/* NameVariableClass */ .chroma .vc { color: #336699 }
/* NameVariableGlobal */ .chroma .vg { color: #dd7700; font-weight: bold }
/* NameVariableInstance */ .chroma .vi { color: #3333bb }
/* LiteralString */ .chroma .s { background-color: #fff0f0 }
/* LiteralStringAffix */ .chroma .sa { background-color: #fff0f0 }
/* LiteralStringBacktick */ .chroma .sb { background-color: #fff0f0 }
/* LiteralStringChar */ .chroma .sc { color: #0044dd; background-color: #fff0f0 }
/* LiteralStringDelimiter */ .chroma .dl { background-color: #fff0f0 }
/* LiteralStringDoc */ .chroma .sd { color: #dd4422; background-color: #fff0f0 }
/* LiteralStringDouble */ .chroma .s2 { background-color: #fff0f0 }
/* LiteralStringEscape */ .chroma .se { color: #666666; background-color: #fff0f0; font-weight: bold }
/* LiteralStringHeredoc */ .chroma .sh { background-color: #fff0f0 }
/* LiteralStringInterpol */ .chroma .si { background-color: #eeeeee }
/* LiteralStringOther */ .chroma .sx { color: #dd2200; background-color: #fff0f0 }
/* LiteralStringRegex */ .chroma .sr { color: #000000; background-color: #fff0ff }
/* LiteralStringSingle */ .chroma .s1 { background-color: #fff0f0 }
/* LiteralStringSymbol */ .chroma .ss { color: #aa6600; background-color: #fff0f0 }
/* LiteralNumber */ .chroma .m { color: #6600ee; font-weight: bold }
/* LiteralNumberBin */ .chroma .mb { color: #6600ee; font-weight: bold }
/* LiteralNumberFloat */ .chroma .mf { color: #6600ee; font-weight: bold }
/* LiteralNumberHex */ .chroma .mh { color: #005588; font-weight: bold }
/* LiteralNumberInteger */ .chroma .mi { color: #0000dd; font-weight: bold }
/* LiteralNumberIntegerLong */ .chroma .il { color: #6600ee; font-weight: bold }
/* LiteralNumberOct */ .chroma .mo { color: #4400ee; font-weight: bold }
/* Operator */ .chroma .o { color: #333333 }
/* OperatorWord */ .chroma .ow { color: #000000; font-weight: bold }
/* Comment */ .chroma .c { color: #888888 }
/* CommentHashbang */ .chroma .ch { color: #888888 }
/* CommentMultiline */ .chroma .cm { color: #888888 }
/* CommentSingle */ .chroma .c1 { color: #888888 }
/* CommentSpecial */ .chroma .cs { color: #cc0000; font-weight: bold }
/* CommentPreproc */ .chroma .cp { color: #557799 }
/* CommentPreprocFile */ .chroma .cpf { color: #557799 }
/* GenericDeleted */ .chroma .gd { color: #a00000 }
/* GenericEmph */ .chroma .ge { font-style: italic }
/* GenericError */ .chroma .gr { color: #ff0000 }
/* GenericHeading */ .chroma .gh { color: #000080; font-weight: bold }
/* GenericInserted */ .chroma .gi { color: #00a000 }
/* GenericOutput */ .chroma .go { color: #888888 }
/* GenericPrompt */ .chroma .gp { color: #c65d09; font-weight: bold }
/* GenericStrong */ .chroma .gs { font-weight: bold }
/* GenericSubheading */ .chroma .gu { color: #800080; font-weight: bold }
/* GenericTraceback */ .chroma .gt { color: #0044dd }
/* GenericUnderline */ .chroma .gl { text-decoration: underline }
/* TextWhitespace */ .chroma .w { color: #bbbbbb }

View File

@ -1 +0,0 @@
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}