Add pixelfed layouts
This commit is contained in:
parent
1da3043c54
commit
f31eb5e15d
|
@ -297,6 +297,7 @@ article.summary a.anchor {
|
|||
|
||||
.stream .twitter_tweet img,
|
||||
.stream .mastodon_toot img,
|
||||
.stream .pixelfed_image img,
|
||||
.stream .instagram_video img,
|
||||
.stream .instagram_image img {
|
||||
width: 90%;
|
||||
|
@ -353,6 +354,7 @@ div.social_bar > a {
|
|||
background: linear-gradient(to bottom, #f2f2f2 0%,#ffffff 100%);
|
||||
}
|
||||
|
||||
.social_bar .pixelfed_image img,
|
||||
.social_bar .instagram_image img {
|
||||
width: 20%;
|
||||
}
|
||||
|
|
Binary file not shown.
|
@ -0,0 +1,34 @@
|
|||
{{ partial "header.html" . }}
|
||||
<body>
|
||||
{{ partial "navbar.html" . }}
|
||||
<div class="main wrapper clearfix">
|
||||
<article class="h-entry">
|
||||
<h1 class="p-name"><a class="u-url" href="{{ .Permalink }}">{{ .Title }}</a></h1>
|
||||
<div class="post-content e-content">
|
||||
<a href="{{ .Params.media_url }}"><img src="{{ .Params.media_url }}"></a>
|
||||
Originally posted to <a class="u-syndication syn-link" rel="syndication" href="{{ .Params.original_url }}">{{ .Params.original_url }}</a>
|
||||
</div>
|
||||
<time class="hidden dt-published" datetime="{{ $.Date }}">{{ .Date.Format "02. January 2006" }}</time>
|
||||
<a class="p-author h-card hidden" href="https://bascht.com"><img class="u-photo hidden" src="/images/bascht.jpg"/>Bascht</a>
|
||||
{{ partial "webmentions.html" . }}
|
||||
{{ $related := .Site.RegularPages.Related . | first 5 }}
|
||||
{{ with $related }}
|
||||
<h3>Ähnliche Beiträge</h3>
|
||||
<ul>
|
||||
{{ range . }}
|
||||
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ end }}
|
||||
</article>
|
||||
<aside>
|
||||
<h4>Posted</h4> <span class="dt-published">{{ .Date.Format "January, 02th 2006" }}</span>
|
||||
<h4>Tags</h4> {{ partial "tags.html" . }}
|
||||
<hr/>
|
||||
<a href="/posts/instagram/">Instagram Archive</a>
|
||||
</aside>
|
||||
</div>
|
||||
{{ partial "pager.html" . }}
|
||||
{{ partial "footer.html" . }}
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,6 @@
|
|||
<a href="{{.Permalink}}" class="summary pixelfed_image u-url">
|
||||
<h2 class="p-name"><span class="social_logo">{{ partial "social_logo" . }}</span>{{.Title | default "Untitled" }}</h2>
|
||||
<p><img alt="Pixelfed Photo: {{ .Params.title }}" srcset="https://img.bascht.com/proxy/300,webp/{{ .Params.media_url }} 300w, https://img.bascht.com/proxy/850,webp/{{ .Params.media_url }} 850w" sizes=" (min-width: 400px) 300vw, 800vw" src="https://img.bascht.com/proxy/300,webp/{{ .Params.media_url }}" ></p>
|
||||
<small>{{ .Date.Format "January, 02th 2006" }}</small>
|
||||
</a>
|
||||
<a class="hidden u-syndication syn-link" rel="syndication" href="{{ .Params.original_url }}">{{ .Params.original_url }}</a>
|
|
@ -0,0 +1,74 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
version="1.1"
|
||||
id="svg955"
|
||||
sodipodi:docname="pixelfed_image.svg"
|
||||
inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)">
|
||||
<metadata
|
||||
id="metadata959">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title>icon/black/svg/pixelfed-icon-black</dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1313"
|
||||
inkscape:window-height="1255"
|
||||
id="namedview957"
|
||||
showgrid="false"
|
||||
inkscape:zoom="12.82"
|
||||
inkscape:cx="25"
|
||||
inkscape:cy="25"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg955" />
|
||||
<!-- Generator: Sketch 51.3 (57544) - http://www.bohemiancoding.com/sketch -->
|
||||
<title
|
||||
id="title945">icon/black/svg/pixelfed-icon-black</title>
|
||||
<desc
|
||||
id="desc947">Created with Sketch.</desc>
|
||||
<defs
|
||||
id="defs949" />
|
||||
<g
|
||||
id="Page-1"
|
||||
stroke="none"
|
||||
stroke-width="1"
|
||||
fill="none"
|
||||
fill-rule="evenodd"
|
||||
transform="matrix(0.26251097,0,0,0.26251097,5.3813012,5.3813012)">
|
||||
<g
|
||||
id="icon-copy-11"
|
||||
fill="#000000">
|
||||
<g
|
||||
id="Group-12">
|
||||
<path
|
||||
d="M 25,50 C 11.192881,50 0,38.807119 0,25 0,11.192881 11.192881,0 25,0 38.807119,0 50,11.192881 50,25 50,38.807119 38.807119,50 25,50 Z M 23.015316,30.458015 h 4.586148 c 4.320335,0 7.822658,-3.409518 7.822658,-7.615371 0,-4.205853 -3.502323,-7.615371 -7.822658,-7.615371 h -6.619172 c -2.492501,0 -4.513072,1.967029 -4.513072,4.393483 v 17.100022 z"
|
||||
id="Combined-Shape" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 2.4 KiB |
Loading…
Reference in New Issue