Skip to content

Commit 3d3f3d7

Browse files
committed
pls
1 parent 1307bd0 commit 3d3f3d7

144 files changed

Lines changed: 3 additions & 16 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

hugo_0.108.0_linux-amd64.deb

16.8 MB
Binary file not shown.

hugo_0.108.0_linux-arm64.deb

15.4 MB
Binary file not shown.
18.1 MB
Binary file not shown.

layouts/shortcodes/img.html

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,6 @@
44
{{- $srcset := slice -}}
55
{{- range $ws -}}
66
{{/* to avoid creating an image that is larger than the source */}}
7-
{{- if (le . $res.Width) -}}
8-
{{- $w := printf "%dx" . -}}
9-
{{- $url := ($res.Resize $w).RelPermalink | safeURL -}}
10-
{{- $fmt := printf "%s %dw" $url . -}}
11-
{{- $srcset = $srcset | append $fmt -}}
12-
{{- end -}}
137
{{- end -}}
148
{{- $set := delimit $srcset "," -}}
15-
<figure>
16-
<img
17-
srcset="{{ $set }}"
18-
sizes="(max-width: 800px) 800px, 100vw"
19-
src="{{ $res.RelPermalink }}"
20-
alt="{{ $alt }}"
21-
width="100%"
22-
height="auto"/>
23-
<figcaption>{{ $alt }}</figcaption>
24-
</figure>
9+
<figure><img srcset="{{ $set }}" sizes="(max-width: 800px) 800px, 100vw" src="{{ $res.RelPermalink }}" alt="{{ $alt }}" width="100%" height="auto"/><figcaption>{{ $alt }}</figcaption></figure>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
body{font-family:open sans,sans-serif;color:#f8f8ff;background-color:#292a2d;margin:0;display:flex;flex-direction:column;min-height:100vh}a{color:#36c}pre code{font-family:fira mono,monospace;font-size:75%;display:block;background:#252627;padding:10px;overflow:auto}code{font-family:fira mono,monospace;font-size:75%}h1{font-family:fira mono,monospace;color:#c300ff}h2{font-family:fira mono,monospace;color:#c300ff}h3{font-family:fira mono,monospace;color:#c300ff}h4{font-family:fira mono,monospace;color:#c300ff}h5{font-family:fira mono,monospace;color:#c300ff}h6{font-family:fira mono,monospace;color:#c300ff}@-ms-viewport{width: device-width; }@font-face{font-family:fira mono;src:url(../fonts/FiraMono/FiraMono-Medium.eot);src:local("Fira Mono"),url(../fonts/FiraMono/FiraMono-Medium.eot)format("embedded-opentype"),url(../fonts/FiraMono/FiraMono-Medium.woff)format("woff"),url(../fonts/FiraMono/FiraMono-Medium.ttf)format("truetype");font-weight:500;font-style:normal}@font-face{font-family:open sans;src:url(../fonts/OpenSans/OpenSans-Regular.eot);src:url(../fonts/OpenSans/OpenSans-Regular.eot?#iefix)format("embedded-opentype"),url(../fonts/OpenSans/OpenSans-Regular.woff)format("woff"),url(../fonts/OpenSans/OpenSans-Regular.ttf)format("truetype"),url(../fonts/OpenSans/OpenSans-Regular.svg#OpenSansRegular)format("svg");font-weight:400;font-style:normal}.footer{padding:15px;text-align:center;color:#c300ff;background-color:#252627}.footerLink{color:#df77fe}.header{font-family:fira mono,monospace;padding:20px;display:flex;justify-content:space-between;align-items:center}@media only screen and (min-width:992px){.header{width:760px}}.headerWrapper{overflow:auto;box-sizing:border-box;background-color:#252627;display:flex;justify-content:center;flex-shrink:0}.headerLinks ul{list-style:none;padding:0;margin:0}.headerLinks ul li{display:inline;margin:5px}.headerLinks ul li a{color:#f8f8ff;text-decoration:none}.terminal{color:#f8f8ff;text-decoration:none}.postDate{float:right;color:#f8f8ff}.postTitle{color:#e388ff;text-decoration:none;text-transform:capitalize;font-family:fira mono,monospace;font-size:1.2em;float:left}.postHeader{overflow:hidden}.postsList{margin-top:20px}.postListItem{padding:20px;background-color:#2f2f2f;margin-bottom:20px}.postExcerpt{text-align:initial;text-decoration:none;color:#f8f8ff}.headerContainer{display:flex;justify-content:space-between}.noDecoration{text-decoration:none}a,a:link,a:visited,a:hover,a:active{text-decoration:none}.socialNavbar ul{list-style:none;padding:0}.socialNavbar ul li{display:inline}.socialNavbar a{color:#fff;text-shadow:#2f2f2f 0 0 2px;-webkit-font-smoothing:antialiased;display:inline-block;margin:10px}.postWrapper{text-align:left}.listHeader,.listContent{text-align:left}.indexWrapper{display:flex;flex-direction:column;justify-content:center}.indexHeader{font-size:3em}.content{text-align:center;margin:0 auto;flex:1 auto;padding:20px}@media only screen and (min-width:992px){.content{display:flex;width:760px}}.vertical{display:flex;flex-direction:column;justify-content:center}.flexWrapper{display:flex;flex-direction:column;justify-content:center;min-height:100vh}.main{width:100%;height:100%}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"Target":"sass/main.min.8ae7f3d96eeaff93a5a842482f325443c1ee008aef65301de81a8c7b9609b35c.css","MediaType":"text/css","Data":{"Integrity":"sha256-iufz2W7q/5OlqEJILzJUQ8HuAIrvZTAd6BqMe5YJs1w="}}
330 KB
65 KB
140 KB
111 KB

0 commit comments

Comments
 (0)