better rtl support, bioImageUrl, authorImageUrl params added, signal app icon added

This commit is contained in:
zzossig 2020-01-28 16:27:11 +09:00
parent 2afd6ea4d5
commit 9a983acb4d
23 changed files with 113 additions and 52 deletions

View File

@ -258,7 +258,8 @@ talksGroupByDate = "2006" # "2006-01": group by month, "2006": group by year
myname = "zzossig" myname = "zzossig"
email = "zzossig@gmail.com" email = "zzossig@gmail.com"
whoami = "Web Developer" whoami = "Web Developer"
useGravatar = false bioImageUrl = "" # image url like http//... If not set, we find a avatar image in root/static/images/whoami/avatar.(png|jpg|svg)
useGravatar = false # we use this option highest priority
location = "Seoul, Korea" location = "Seoul, Korea"
organization = "Hugo" organization = "Hugo"
link = "https://github.com/zzossig/hugo-theme-zzo" link = "https://github.com/zzossig/hugo-theme-zzo"
@ -362,6 +363,8 @@ commento = false
mastodon = "" mastodon = ""
jianshu = "" jianshu = ""
zhihu = "" zhihu = ""
signal = ""
whatsapp = ""
[donationOptions] [donationOptions]
enable = false # if set, the donation button will show up on the single page. enable = false # if set, the donation button will show up on the single page.
@ -966,6 +969,7 @@ title:
author: # author name author: # author name
authorEmoji: 🤖 # emoji for subtitle, summary meta data authorEmoji: 🤖 # emoji for subtitle, summary meta data
authorImage: "/images/whoami/avatar.jpg" # image path in the static folder authorImage: "/images/whoami/avatar.jpg" # image path in the static folder
authorImageUrl: "" # your image url. We use `authorImageUrl` first. If not set, we use `authorImage`.
authorDesc: # author description authorDesc: # author description
socialOptions: # override params.toml file socialOptions socialOptions: # override params.toml file socialOptions
email: "" email: ""

View File

@ -250,7 +250,8 @@ talksGroupByDate = "2006" # "2006-01": group by month, "2006": group by year
myname = "zzossig" myname = "zzossig"
email = "zzossig@gmail.com" email = "zzossig@gmail.com"
whoami = "Web Developer" whoami = "Web Developer"
useGravatar = false bioImageUrl = "" # image url like http//... If not set, we find a avatar image in root/static/images/whoami/avatar.(png|jpg|svg)
useGravatar = false # we use this option highest priority
location = "Seoul, Korea" location = "Seoul, Korea"
organization = "Hugo" organization = "Hugo"
link = "https://github.com/zzossig/hugo-theme-zzo" link = "https://github.com/zzossig/hugo-theme-zzo"
@ -354,6 +355,8 @@ commento = false
mastodon = "" mastodon = ""
jianshu = "" jianshu = ""
zhihu = "" zhihu = ""
signal = ""
whatsapp = ""
[donationOptions] [donationOptions]
enable = false # if set, the donation button will show up on the single page. enable = false # if set, the donation button will show up on the single page.
@ -957,6 +960,7 @@ title:
author: # author name author: # author name
authorEmoji: 🤖 # emoji for subtitle, summary meta data authorEmoji: 🤖 # emoji for subtitle, summary meta data
authorImage: "/images/whoami/avatar.jpg" # image path in the static folder authorImage: "/images/whoami/avatar.jpg" # image path in the static folder
authorImageUrl: "" # your image url. We use `authorImageUrl` first. If not set, we use `authorImage`.
authorDesc: # author description authorDesc: # author description
socialOptions: # override params.toml file socialOptions socialOptions: # override params.toml file socialOptions
email: "" email: ""

View File

@ -11,6 +11,7 @@ categories:
author: author:
authorEmoji: 🤖 authorEmoji: 🤖
authorImage: "/images/whoami/avatar.jpg" authorImage: "/images/whoami/avatar.jpg"
authorImageUrl: ""
authorDesc: authorDesc:
socialOptions: socialOptions:
email: "" email: ""

View File

@ -49,19 +49,43 @@
@include flexbox(); @include flexbox();
@include align-items(center); @include align-items(center);
@include justify-content(center); @include justify-content(center);
}
&--icon { &[data-dir="ltr"] {
margin-right: 0.25rem; .bio__info {
@include flexbox(); &--icon {
@include align-items(center); margin-right: 0.25rem;
@include themify($themes) {
color: themed('social-icon-color'); @include flexbox();
} @include align-items(center);
@include themify($themes) {
color: themed('social-icon-color');
}
}
a {
padding-right: 1rem;
@include truncate($sidebar-width);
}
} }
}
a { &[data-dir="rtl"] {
padding-right: 1rem; .bio__info {
@include truncate($sidebar-width); &--icon {
margin-left: 0.25rem !important;
@include flexbox();
@include align-items(center);
@include themify($themes) {
color: themed('social-icon-color');
}
}
a {
padding-left: 1rem;
@include truncate($sidebar-width);
}
} }
} }

View File

@ -35,17 +35,31 @@
@include flexbox(); @include flexbox();
@include align-items(center); @include align-items(center);
&[data-type="donation"] {
svg {
@include themify($themes) {
color: themed('share-color');
background-color: themed('donation-background-color');
@include box-shadow(1px, 1px, 3px, 0, themed('share-shadow-color'));
}
}
}
&[data-type="share"] {
svg {
@include themify($themes) {
color: themed('share-color');
background-color: themed('share-background-color');
@include box-shadow(1px, 1px, 3px, 0, themed('share-shadow-color'));
}
}
}
svg { svg {
padding: 0.375rem; padding: 0.375rem;
border-radius: 0.25rem; border-radius: 0.25rem;
margin-right: 0.25rem; margin-right: 0.25rem;
@include themify($themes) {
color: themed('share-color');
background-color: themed('share-background-color');
@include box-shadow(1px, 1px, 3px, 0, themed('share-shadow-color'));
}
&[data-name="douban"] { &[data-name="douban"] {
color: white; color: white;
@include on-event { @include on-event {

View File

@ -104,5 +104,6 @@ $dark: (
custom-scrollbar-background-color: #eee, custom-scrollbar-background-color: #eee,
share-color: #dbdbdb, share-color: #dbdbdb,
share-shadow-color: #888, share-shadow-color: #888,
share-background-color: lighten(#403E41, 5%), share-background-color: lighten(#403E41, 2.5%),
donation-background-color: #525252,
); );

View File

@ -104,5 +104,6 @@ $hacker: (
custom-scrollbar-background-color: #FCFCFA, custom-scrollbar-background-color: #FCFCFA,
share-color: #dbdbdb, share-color: #dbdbdb,
share-shadow-color: #888, share-shadow-color: #888,
share-background-color: lighten(#282a36, 7.5%), share-background-color: #383b4c,
donation-background-color: #43454d,
); );

View File

@ -103,5 +103,6 @@ $kimbie: (
custom-scrollbar-background-color: #d3af86, custom-scrollbar-background-color: #d3af86,
share-color: #d3af86, share-color: #d3af86,
share-shadow-color: #828282, share-shadow-color: #828282,
share-background-color: #5e452b, share-background-color: #403c38,
donation-background-color: #52493c,
); );

View File

@ -103,5 +103,6 @@ $light: (
custom-scrollbar-background-color: #FCFCFA, custom-scrollbar-background-color: #FCFCFA,
share-color: #FCFCFA, share-color: #FCFCFA,
share-shadow-color: #727072, share-shadow-color: #727072,
share-background-color: lighten(#607d8b, 10%), share-background-color: #90a4ae,
donation-background-color: #eceff1,
); );

View File

@ -102,5 +102,6 @@ $solarized: (
custom-scrollbar-background-color: #EEE8D5, custom-scrollbar-background-color: #EEE8D5,
share-color: #f9fbe7, share-color: #f9fbe7,
share-shadow-color: #727072, share-shadow-color: #727072,
share-background-color: lighten(#cb4b16, 7.5%), share-background-color: #99907a,
donation-background-color: #c5e0df,
); );

View File

@ -2,8 +2,10 @@
title = "Hugo Zzo Theme" title = "Hugo Zzo Theme"
languageName = "English" languageName = "English"
weight = 1 weight = 1
languagedir = "ltr"
[ko] [ko]
title = "Hugo Zzo Theme" title = "Hugo Zzo Theme"
languageName = "한국어" languageName = "한국어"
weight = 2 weight = 2
languagedir = "ltr"

View File

@ -31,6 +31,7 @@ talksGroupByDate = "2006"
myname = "zzossig" myname = "zzossig"
email = "zzossig@gmail.com" email = "zzossig@gmail.com"
whoami = "Web Developer" whoami = "Web Developer"
bioImageUrl = ""
useGravatar = false useGravatar = false
location = "Seoul, Korea" location = "Seoul, Korea"
organization = "Hugo" organization = "Hugo"
@ -136,6 +137,8 @@ commento = false
mastodon = "" mastodon = ""
jianshu = "" jianshu = ""
zhihu = "" zhihu = ""
signal = ""
whatsapp = ""
[donationOptions] [donationOptions]
enable = false enable = false
@ -144,5 +147,9 @@ commento = false
paypal = "" paypal = ""
patreon = "" patreon = ""
[share] # possible share name: ["facebook","twitter", "reddit", "linkedin", "tumblr", "weibo", "douban", "line"]
# options = ["facebook","twitter", "reddit", "linkedin", "tumblr", "weibo", "douban", "line"] [[share]]
name = "facebook"
username = ""
[[share]]
name = "twitter"

View File

@ -116,12 +116,6 @@ Colored box
**this** is a text **this** is a text
{{< /alert >}} {{< /alert >}}
## Image
Diaplay image with title and caption
{{< img src="/images/whoami/avatar.jpg" title="Title" caption="example caption" alt="example avatar" width="400px" >}}
## Notice ## Notice
{{< notice success >}} {{< notice success >}}

View File

@ -7,15 +7,15 @@
{{ range $name, $path := $.Param "donationOptions" }} {{ range $name, $path := $.Param "donationOptions" }}
{{ if (and $path (ne $name "enable")) }} {{ if (and $path (ne $name "enable")) }}
{{ if in $name "patreon" }} {{ if in $name "patreon" }}
<a href="{{ $path | safeURL }}" title="{{ $name }}" aria-label="{{ $name }}" class="donation__item" target="_blank" rel="noreferrer"> <a href="{{ $path | safeURL }}" title="{{ $name }}" aria-label="{{ $name }}" class="donation__item" target="_blank" rel="noreferrer" data-type="donation">
{{ partial (print "svgs/donation/" $name ".svg") (dict "width" 35 "height" 35) }} {{ partial (print "svgs/donation/" $name ".svg") (dict "width" 35 "height" 35) }}
</a> </a>
{{ else if in $name "paypal" }} {{ else if in $name "paypal" }}
<a href="{{ $path | safeURL }}" title="{{ $name }}" aria-label="{{ $name }}" class="donation__item" target="_blank" rel="noreferrer"> <a href="{{ $path | safeURL }}" title="{{ $name }}" aria-label="{{ $name }}" class="donation__item" target="_blank" rel="noreferrer" data-type="donation">
{{ partial (print "svgs/donation/" $name ".svg") (dict "width" 35 "height" 35) }} {{ partial (print "svgs/donation/" $name ".svg") (dict "width" 35 "height" 35) }}
</a> </a>
{{ else }} {{ else }}
<div class="donation__item donation__dropup" title="{{ $name }}" aria-label="{{ $name }}"> <div class="donation__item donation__dropup" title="{{ $name }}" aria-label="{{ $name }}" data-type="donation">
{{ partial (print "svgs/donation/" $name ".svg") (dict "width" 35 "height" 35) }} {{ partial (print "svgs/donation/" $name ".svg") (dict "width" 35 "height" 35) }}
<div class="donation__dropup--content"> <div class="donation__dropup--content">
<img data-src="{{ $path | relURL }}" alt="{{ $name }} QR Code" src="data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='none' d='M0 0h24v24H0V0z'/%3E%3Cpath fill='%23aaa' d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-1 16H6c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h12c.55 0 1 .45 1 1v12c0 .55-.45 1-1 1zm-4.44-6.19l-2.35 3.02-1.56-1.88c-.2-.25-.58-.24-.78.01l-1.74 2.23c-.26.33-.02.81.39.81h8.98c.41 0 .65-.47.4-.8l-2.55-3.39c-.19-.26-.59-.26-.79 0z'/%3E%3C/svg%3E" class="lazyload"/> <img data-src="{{ $path | relURL }}" alt="{{ $name }} QR Code" src="data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='none' d='M0 0h24v24H0V0z'/%3E%3Cpath fill='%23aaa' d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-1 16H6c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h12c.55 0 1 .45 1 1v12c0 .55-.45 1-1 1zm-4.44-6.19l-2.35 3.02-1.56-1.88c-.2-.25-.58-.24-.78.01l-1.74 2.23c-.26.33-.02.81.39.81h8.98c.41 0 .65-.47.4-.8l-2.55-3.39c-.19-.26-.59-.26-.79 0z'/%3E%3C/svg%3E" class="lazyload"/>

View File

@ -8,35 +8,35 @@
{{ $site := .Site }} {{ $site := .Site }}
{{ range $.Param "share" }} {{ range $.Param "share" }}
{{ if eq (lower .name) "facebook" }} {{ if eq (lower .name) "facebook" }}
<a href="https://www.facebook.com/sharer/sharer.php?u={{ $ctx.Permalink | absLangURL }}" title="{{ i18n "facebook" | default "Facebook" }}" aria-label="Facebook Share Button" class="donation__item" target="_blank" rel="noreferrer"> <a href="https://www.facebook.com/sharer/sharer.php?u={{ $ctx.Permalink | absLangURL }}" title="{{ i18n "facebook" | default "Facebook" }}" aria-label="Facebook Share Button" class="donation__item" target="_blank" rel="noreferrer" data-type="share">
{{ partial "svgs/share/facebook.svg" (dict "width" 35 "height" 35) }} {{ partial "svgs/share/facebook.svg" (dict "width" 35 "height" 35) }}
</a> </a>
{{ else if eq (lower .name) "twitter" }} {{ else if eq (lower .name) "twitter" }}
<a href="https://twitter.com/intent/tweet?text={{ $ctx.Title }}&url={{ $ctx.Permalink | absLangURL }}{{ with $ctx.Params.tags }}&hashtags={{ delimit . "," }}{{ end }}&via={{ .username | default $ctx.Params.author }}" title="{{ i18n "twitter" | default "Twitter" }}" aria-label="Twitter Share Button" class="donation__item" target="_blank" rel="noreferrer"> <a href="https://twitter.com/intent/tweet?text={{ $ctx.Title }}&url={{ $ctx.Permalink | absLangURL }}{{ with $ctx.Params.tags }}&hashtags={{ delimit . "," }}{{ end }}&via={{ .username | default $ctx.Params.author }}" title="{{ i18n "twitter" | default "Twitter" }}" aria-label="Twitter Share Button" class="donation__item" target="_blank" rel="noreferrer" data-type="share">
{{ partial "svgs/share/twitter.svg" (dict "width" 35 "height" 35) }} {{ partial "svgs/share/twitter.svg" (dict "width" 35 "height" 35) }}
</a> </a>
{{ else if eq (lower .name) "reddit" }} {{ else if eq (lower .name) "reddit" }}
<a href="https://www.reddit.com/submit?url={{ $ctx.Permalink | absLangURL }}&amp;title={{ $ctx.Title }}" target="_blank" rel="noreferer" title="{{ i18n "reddit" | default "Reddit" }}" aria-label="Reddit Share Button" onclick="window.open('http://www.reddit.com/submit?url=' + encodeURIComponent(document.URL) + '&amp;title=' + encodeURIComponent(document.title)); return false;" class="donation__item"> <a href="https://www.reddit.com/submit?url={{ $ctx.Permalink | absLangURL }}&amp;title={{ $ctx.Title }}" target="_blank" rel="noreferer" title="{{ i18n "reddit" | default "Reddit" }}" aria-label="Reddit Share Button" onclick="window.open('http://www.reddit.com/submit?url=' + encodeURIComponent(document.URL) + '&amp;title=' + encodeURIComponent(document.title)); return false;" class="donation__item" data-type="share">
{{ partial "svgs/share/reddit.svg" (dict "width" 35 "height" 35) }} {{ partial "svgs/share/reddit.svg" (dict "width" 35 "height" 35) }}
</a> </a>
{{ else if eq (lower .name) "linkedin" }} {{ else if eq (lower .name) "linkedin" }}
<a href="https://www.linkedin.com/shareArticle?mini=true&url={{ $ctx.Permalink | absLangURL }}&title={{ $ctx.Title }} &summary={{ $ctx.Description }}&source={{ $site.Params.Description }}" target="_blank" rel="noreferer" title="{{ i18n "linkedin" | default "LinkedIn" }}" aria-label="LinkedIn Share Button" class="donation__item"> <a href="https://www.linkedin.com/shareArticle?mini=true&url={{ $ctx.Permalink | absLangURL }}&title={{ $ctx.Title }} &summary={{ $ctx.Description }}&source={{ $site.Params.Description }}" target="_blank" rel="noreferer" title="{{ i18n "linkedin" | default "LinkedIn" }}" aria-label="LinkedIn Share Button" class="donation__item" data-type="share">
{{ partial "svgs/share/linkedin.svg" (dict "width" 35 "height" 35) }} {{ partial "svgs/share/linkedin.svg" (dict "width" 35 "height" 35) }}
</a> </a>
{{ else if eq (lower .name) "tumblr" }} {{ else if eq (lower .name) "tumblr" }}
<a href="http://tumblr.com/widgets/share/tool?canonicalUrl={{ $ctx.Permalink | absLangURL }}&data-title={{ $ctx.Title }}&data-content={{ $ctx.Description }}" class="donation__item" target="_blank" rel="noreferer" title="{{ i18n "tumblr" | default "Tumblr" }}" aria-label="Tumblr Share Button"> <a href="http://tumblr.com/widgets/share/tool?canonicalUrl={{ $ctx.Permalink | absLangURL }}&data-title={{ $ctx.Title }}&data-content={{ $ctx.Description }}" class="donation__item" target="_blank" rel="noreferer" title="{{ i18n "tumblr" | default "Tumblr" }}" aria-label="Tumblr Share Button" data-type="share">
{{ partial "svgs/share/tumblr.svg" (dict "width" 35 "height" 35) }} {{ partial "svgs/share/tumblr.svg" (dict "width" 35 "height" 35) }}
</a> </a>
{{ else if eq (lower .name) "weibo" }} {{ else if eq (lower .name) "weibo" }}
<a href="javascript:void(function(){var d=document,e=encodeURIComponent,s1=window.getSelection,s2=d.getSelection,s3=d.selection,s=s1?s1():s2?s2():s3?s3.createRange().text:'',r='http://service.weibo.com/share/share.php?url='+e(d.location.href)+'&title='+e(d.title),x=function(){if(!window.open(r,'weibo','toolbar=0,resizable=1,scrollbars=yes,status=1,width=450,height=330'))location.href=r+'&r=1'};if(/Firefox/.test(navigator.userAgent)){setTimeout(x,0)}else{x()}})()" class="donation__item" target="_blank" rel="noreferer" title="{{ i18n "weibo" | default "Weibo" }}" aria-label="Weibo Share Button"> <a href="javascript:void(function(){var d=document,e=encodeURIComponent,s1=window.getSelection,s2=d.getSelection,s3=d.selection,s=s1?s1():s2?s2():s3?s3.createRange().text:'',r='http://service.weibo.com/share/share.php?url='+e(d.location.href)+'&title='+e(d.title),x=function(){if(!window.open(r,'weibo','toolbar=0,resizable=1,scrollbars=yes,status=1,width=450,height=330'))location.href=r+'&r=1'};if(/Firefox/.test(navigator.userAgent)){setTimeout(x,0)}else{x()}})()" class="donation__item" target="_blank" rel="noreferer" title="{{ i18n "weibo" | default "Weibo" }}" aria-label="Weibo Share Button" data-type="share">
{{ partial "svgs/share/weibo.svg" (dict "width" 35 "height" 35) }} {{ partial "svgs/share/weibo.svg" (dict "width" 35 "height" 35) }}
</a> </a>
{{ else if eq (lower .name) "douban" }} {{ else if eq (lower .name) "douban" }}
<a href="javascript:void(function(){var d=document,e=encodeURIComponent,s1=window.getSelection,s2=d.getSelection,s3=d.selection,s=s1?s1():s2?s2():s3?s3.createRange().text:'',r='https://www.douban.com/recommend/?url='+e(d.location.href)+'&title='+e(d.title)+'&sel='+e(s)+'&v=1',w=450,h=330,x=function(){if(!window.open(r,'douban','toolbar=0,resizable=1,scrollbars=yes,status=1,width='+w+',height='+h+',left='+(screen.width-w)/2+',top='+(screen.height-h)/2))location.href=r+'&r=1'};if(/Firefox/.test(navigator.userAgent)){setTimeout(x,0)}else{x()}})()" class="donation__item" target="_blank" rel="noreferer" title="{{ i18n "douban" | default "Douban" }}" aria-label="Douban Share Button"> <a href="javascript:void(function(){var d=document,e=encodeURIComponent,s1=window.getSelection,s2=d.getSelection,s3=d.selection,s=s1?s1():s2?s2():s3?s3.createRange().text:'',r='https://www.douban.com/recommend/?url='+e(d.location.href)+'&title='+e(d.title)+'&sel='+e(s)+'&v=1',w=450,h=330,x=function(){if(!window.open(r,'douban','toolbar=0,resizable=1,scrollbars=yes,status=1,width='+w+',height='+h+',left='+(screen.width-w)/2+',top='+(screen.height-h)/2))location.href=r+'&r=1'};if(/Firefox/.test(navigator.userAgent)){setTimeout(x,0)}else{x()}})()" class="donation__item" target="_blank" rel="noreferer" title="{{ i18n "douban" | default "Douban" }}" aria-label="Douban Share Button" data-type="share">
{{ partial "svgs/share/douban.svg" (dict "width" 35 "height" 35) }} {{ partial "svgs/share/douban.svg" (dict "width" 35 "height" 35) }}
</a> </a>
{{ else if eq (lower .name) "line" }} {{ else if eq (lower .name) "line" }}
<a href="https://social-plugins.line.me/lineit/share?url={{ $ctx.Permalink | absLangURL }}" class="donation__item" target="_blank" rel="noreferer" title="{{ i18n "line" | default "Line" }}" aria-label="Line Share Button"> <a href="https://social-plugins.line.me/lineit/share?url={{ $ctx.Permalink | absLangURL }}" class="donation__item" target="_blank" rel="noreferer" title="{{ i18n "line" | default "Line" }}" aria-label="Line Share Button" data-type="share">
{{ partial "svgs/share/line.svg" (dict "width" 35 "height" 35) }} {{ partial "svgs/share/line.svg" (dict "width" 35 "height" 35) }}
</a> </a>
{{ end }} {{ end }}

View File

@ -8,8 +8,10 @@
{{ $src = printf "https://s.gravatar.com/avatar/%s?s=200" (md5 .Site.Params.email) }} {{ $src = printf "https://s.gravatar.com/avatar/%s?s=200" (md5 .Site.Params.email) }}
<img src="{{ $src }}" alt="{{ if .Site.Params.myname }}{{ .Site.Params.myname }}{{ else }}Avatar{{ end }}" class="whoami__image"/> <img src="{{ $src }}" alt="{{ if .Site.Params.myname }}{{ .Site.Params.myname }}{{ else }}Avatar{{ end }}" class="whoami__image"/>
{{ else }} {{ else }}
{{ if .Params.authorImage }} {{ if .Params.authorImageUrl }}
<img data-src="{{ .Params.authorImage | relURL }}" src="data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='none' d='M0 0h24v24H0V0z'/%3E%3Cpath fill='%23aaa' d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-1 16H6c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h12c.55 0 1 .45 1 1v12c0 .55-.45 1-1 1zm-4.44-6.19l-2.35 3.02-1.56-1.88c-.2-.25-.58-.24-.78.01l-1.74 2.23c-.26.33-.02.81.39.81h8.98c.41 0 .65-.47.4-.8l-2.55-3.39c-.19-.26-.59-.26-.79 0z'/%3E%3C/svg%3E" alt="{{ if .Site.Params.myname }}{{ .Site.Params.myname }}{{ else }}Avatar{{ end }}" class="lazyload whoami__image"/> <img data-src="{{ .Params.authorImageUrl }}" src="data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='none' d='M0 0h24v24H0V0z'/%3E%3Cpath fill='%23aaa' d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-1 16H6c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h12c.55 0 1 .45 1 1v12c0 .55-.45 1-1 1zm-4.44-6.19l-2.35 3.02-1.56-1.88c-.2-.25-.58-.24-.78.01l-1.74 2.23c-.26.33-.02.81.39.81h8.98c.41 0 .65-.47.4-.8l-2.55-3.39c-.19-.26-.59-.26-.79 0z'/%3E%3C/svg%3E" alt="{{ if .Site.Params.myname }}{{ .Site.Params.myname }}{{ else }}Avatar{{ end }}" class="lazyload whoami__image"/>
{{ else if .Params.authorImage }}
<img data-src="{{ .Params.authorImage | relURL }}" src="data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='none' d='M0 0h24v24H0V0z'/%3E%3Cpath fill='%23aaa' d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-1 16H6c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h12c.55 0 1 .45 1 1v12c0 .55-.45 1-1 1zm-4.44-6.19l-2.35 3.02-1.56-1.88c-.2-.25-.58-.24-.78.01l-1.74 2.23c-.26.33-.02.81.39.81h8.98c.41 0 .65-.47.4-.8l-2.55-3.39c-.19-.26-.59-.26-.79 0z'/%3E%3C/svg%3E" alt="{{ if .Site.Params.myname }}{{ .Site.Params.myname }}{{ else }}Avatar{{ end }}" class="lazyload whoami__image"/>
{{ else if (fileExists "static/images/whoami/avatar.png") }} {{ else if (fileExists "static/images/whoami/avatar.png") }}
<img data-src="{{ "images/whoami/avatar.png" | relURL }}" src="data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='none' d='M0 0h24v24H0V0z'/%3E%3Cpath fill='%23aaa' d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-1 16H6c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h12c.55 0 1 .45 1 1v12c0 .55-.45 1-1 1zm-4.44-6.19l-2.35 3.02-1.56-1.88c-.2-.25-.58-.24-.78.01l-1.74 2.23c-.26.33-.02.81.39.81h8.98c.41 0 .65-.47.4-.8l-2.55-3.39c-.19-.26-.59-.26-.79 0z'/%3E%3C/svg%3E" alt="{{ if .Site.Params.myname }}{{ .Site.Params.myname }}{{ else }}Avatar{{ end }}" class="lazyload whoami__image"/> <img data-src="{{ "images/whoami/avatar.png" | relURL }}" src="data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='none' d='M0 0h24v24H0V0z'/%3E%3Cpath fill='%23aaa' d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-1 16H6c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h12c.55 0 1 .45 1 1v12c0 .55-.45 1-1 1zm-4.44-6.19l-2.35 3.02-1.56-1.88c-.2-.25-.58-.24-.78.01l-1.74 2.23c-.26.33-.02.81.39.81h8.98c.41 0 .65-.47.4-.8l-2.55-3.39c-.19-.26-.59-.26-.79 0z'/%3E%3C/svg%3E" alt="{{ if .Site.Params.myname }}{{ .Site.Params.myname }}{{ else }}Avatar{{ end }}" class="lazyload whoami__image"/>
{{ else if (fileExists "static/images/whoami/avatar.svg") }} {{ else if (fileExists "static/images/whoami/avatar.svg") }}

View File

@ -1,5 +1,5 @@
{{ if $.Param "enableBio" }} {{ if $.Param "enableBio" }}
<section class="bio"> <section class="bio" data-dir="{{ $.Param "languagedir" | default "ltr" }}">
<hr class="hr-slash bio-hr"/> <hr class="hr-slash bio-hr"/>
<div class="bio__photo-wrapper"> <div class="bio__photo-wrapper">
{{ $src := "" }} {{ $src := "" }}
@ -7,7 +7,9 @@
{{ $src = printf "https://s.gravatar.com/avatar/%s?s=200" (md5 .Site.Params.email) }} {{ $src = printf "https://s.gravatar.com/avatar/%s?s=200" (md5 .Site.Params.email) }}
<img src="{{ $src }}" alt="{{ if .Site.Params.myname }}{{ .Site.Params.myname }}{{ else }}Avatar{{ end }}" class="bio__photo"/> <img src="{{ $src }}" alt="{{ if .Site.Params.myname }}{{ .Site.Params.myname }}{{ else }}Avatar{{ end }}" class="bio__photo"/>
{{ else }} {{ else }}
{{ if (fileExists "static/images/whoami/avatar.png") }} {{ if .Site.Params.bioImageUrl }}
<img data-src="{{ .Site.Params.bioImageUrl }}" alt="{{ if .Site.Params.myname }}{{ .Site.Params.myname }}{{ else }}Avatar{{ end }}" src="data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='none' d='M0 0h24v24H0V0z'/%3E%3Cpath fill='%23aaa' d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-1 16H6c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h12c.55 0 1 .45 1 1v12c0 .55-.45 1-1 1zm-4.44-6.19l-2.35 3.02-1.56-1.88c-.2-.25-.58-.24-.78.01l-1.74 2.23c-.26.33-.02.81.39.81h8.98c.41 0 .65-.47.4-.8l-2.55-3.39c-.19-.26-.59-.26-.79 0z'/%3E%3C/svg%3E" class="lazyload bio__photo"/>
{{ else if (fileExists "static/images/whoami/avatar.png") }}
<img data-src="{{ "images/whoami/avatar.png" | relURL }}" alt="{{ if .Site.Params.myname }}{{ .Site.Params.myname }}{{ else }}Avatar{{ end }}" src="data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='none' d='M0 0h24v24H0V0z'/%3E%3Cpath fill='%23aaa' d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-1 16H6c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h12c.55 0 1 .45 1 1v12c0 .55-.45 1-1 1zm-4.44-6.19l-2.35 3.02-1.56-1.88c-.2-.25-.58-.24-.78.01l-1.74 2.23c-.26.33-.02.81.39.81h8.98c.41 0 .65-.47.4-.8l-2.55-3.39c-.19-.26-.59-.26-.79 0z'/%3E%3C/svg%3E" class="lazyload bio__photo"/> <img data-src="{{ "images/whoami/avatar.png" | relURL }}" alt="{{ if .Site.Params.myname }}{{ .Site.Params.myname }}{{ else }}Avatar{{ end }}" src="data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='none' d='M0 0h24v24H0V0z'/%3E%3Cpath fill='%23aaa' d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-1 16H6c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h12c.55 0 1 .45 1 1v12c0 .55-.45 1-1 1zm-4.44-6.19l-2.35 3.02-1.56-1.88c-.2-.25-.58-.24-.78.01l-1.74 2.23c-.26.33-.02.81.39.81h8.98c.41 0 .65-.47.4-.8l-2.55-3.39c-.19-.26-.59-.26-.79 0z'/%3E%3C/svg%3E" class="lazyload bio__photo"/>
{{ else if (fileExists "static/images/whoami/avatar.jpg") }} {{ else if (fileExists "static/images/whoami/avatar.jpg") }}
<img data-src="{{ "images/whoami/avatar.jpg" | relURL }}" alt="{{ if .Site.Params.myname }}{{ .Site.Params.myname }}{{ else }}Avatar{{ end }}" src="data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='none' d='M0 0h24v24H0V0z'/%3E%3Cpath fill='%23aaa' d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-1 16H6c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h12c.55 0 1 .45 1 1v12c0 .55-.45 1-1 1zm-4.44-6.19l-2.35 3.02-1.56-1.88c-.2-.25-.58-.24-.78.01l-1.74 2.23c-.26.33-.02.81.39.81h8.98c.41 0 .65-.47.4-.8l-2.55-3.39c-.19-.26-.59-.26-.79 0z'/%3E%3C/svg%3E" class="lazyload bio__photo"/> <img data-src="{{ "images/whoami/avatar.jpg" | relURL }}" alt="{{ if .Site.Params.myname }}{{ .Site.Params.myname }}{{ else }}Avatar{{ end }}" src="data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='none' d='M0 0h24v24H0V0z'/%3E%3Cpath fill='%23aaa' d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-1 16H6c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h12c.55 0 1 .45 1 1v12c0 .55-.45 1-1 1zm-4.44-6.19l-2.35 3.02-1.56-1.88c-.2-.25-.58-.24-.78.01l-1.74 2.23c-.26.33-.02.81.39.81h8.98c.41 0 .65-.47.4-.8l-2.55-3.39c-.19-.26-.59-.26-.79 0z'/%3E%3C/svg%3E" class="lazyload bio__photo"/>

View File

@ -1,7 +1,7 @@
<article class="summary-card"> <article class="summary-card">
<header> <header>
<h5 class="title h5"><a href='{{ .Permalink }}'> {{ .Title }}</a> </h5> <h5 class="title h5"><a href='{{ .Permalink }}'> {{ .Title }}</a> </h5>
<h6 class="subtitle caption"><time title="{{ i18n "tooltip-written" }}">📅{{ .Date.Format (i18n "summary-dateformat") }} </time> {{ if .GitInfo }} <time title="{{ i18n "tooltip-modified" }}"> &middot; 📝 {{ .Lastmod.Format (i18n "summary-dateformat") }} </time> {{ end }} <span title="{{ i18n "tooltip-reading-time" }}"> &middot; ☕ {{ .ReadingTime }} {{ i18n "reading-time" }}</span>{{ with .Params.Author }}&middot; <span title="{{ i18n "single-writtenBy" }}">{{if .Params.AuthorEmoji }}{{ .Params.AuthorEmoji }}{{ else }}✍️{{ end }}&nbsp;{{ . }}</span>{{ end }}</h6> <h6 class="subtitle caption"><time title="{{ i18n "tooltip-written" }}" dir="{{ if ne ($.Param "languagedir") "rtl" }}ltr{{ else }}rtl{{ end }}">📅{{ .Date.Format (i18n "summary-dateformat") }} </time> {{ if .GitInfo }} <time title="{{ i18n "tooltip-modified" }}" dir="{{ if ne ($.Param "languagedir") "rtl" }}ltr{{ else }}rtl{{ end }}"> &middot; 📝 {{ .Lastmod.Format (i18n "summary-dateformat") }} </time> {{ end }} <span title="{{ i18n "tooltip-reading-time" }}" dir="{{ if ne ($.Param "languagedir") "rtl" }}ltr{{ else }}rtl{{ end }}"> &middot; ☕ {{ .ReadingTime }} {{ i18n "reading-time" }}</span>{{ with .Params.Author }}&middot; <span title="{{ i18n "single-writtenBy" }}" dir="{{ if ne ($.Param "languagedir") "rtl" }}ltr{{ else }}rtl{{ end }}">{{if .Params.AuthorEmoji }}{{ .Params.AuthorEmoji }}{{ else }}✍️{{ end }}&nbsp;{{ . }}</span>{{ end }}</h6>
</header> </header>
{{ $params := .Params }} {{ $params := .Params }}
<div class="summary-card__content"> <div class="summary-card__content">

View File

@ -13,14 +13,14 @@
<div class="summary-classic__content"> <div class="summary-classic__content">
<header> <header>
<h5 class="title h5"><a href='{{ .Permalink }}'> {{ .Title }}</a> </h5> <h5 class="title h5"><a href='{{ .Permalink }}'> {{ .Title }}</a> </h5>
<h6 class="subtitle caption"><time title="{{ i18n "tooltip-written" }}">📅 {{ .Date.Format (i18n "summary-dateformat") }} </time> {{ if .GitInfo }} <time title="{{ i18n "tooltip-modified" }}"> &middot; 📝 {{ .Lastmod.Format (i18n "summary-dateformat") }} </time> {{ end }} <span title="{{ i18n "tooltip-reading-time" }}"> &middot; ☕ {{ .ReadingTime }} {{ i18n "reading-time" }} </span>{{ with .Params.Author }}&middot; <span title="{{ i18n "single-writtenBy" }}">{{if $params.AuthorEmoji }}{{ $params.AuthorEmoji }}{{ else }}✍️{{ end }}&nbsp;{{ . }}</span>{{ end }}</h6> <h6 class="subtitle caption"><time title="{{ i18n "tooltip-written" }}" dir="{{ if ne ($.Param "languagedir") "rtl" }}ltr{{ else }}rtl{{ end }}">📅 {{ .Date.Format (i18n "summary-dateformat") }} </time> {{ if .GitInfo }} <time title="{{ i18n "tooltip-modified" }}" dir="{{ if ne ($.Param "languagedir") "rtl" }}ltr{{ else }}rtl{{ end }}"> &middot; 📝 {{ .Lastmod.Format (i18n "summary-dateformat") }} </time> {{ end }} <span title="{{ i18n "tooltip-reading-time" }}" dir="{{ if ne ($.Param "languagedir") "rtl" }}ltr{{ else }}rtl{{ end }}"> &middot; ☕ {{ .ReadingTime }} {{ i18n "reading-time" }} </span>{{ with .Params.Author }}&middot; <span title="{{ i18n "single-writtenBy" }}" dir="{{ if ne ($.Param "languagedir") "rtl" }}ltr{{ else }}rtl{{ end }}">{{if $params.AuthorEmoji }}{{ $params.AuthorEmoji }}{{ else }}✍️{{ end }}&nbsp;{{ . }}</span>{{ end }}</h6>
</header> </header>
<div> <div>
<div class="summary-classic__text p2"> <div class="summary-classic__text p2">
{{ with $params.Description }} {{ with $params.Description }}
{{ . }} {{ . }}
{{ else }} {{ else }}
{{ .Summary }} {{ .Summary | safeHTML }}
{{ end }} {{ end }}
</div> </div>
</div> </div>

View File

@ -4,7 +4,7 @@
<div class="summary-compact__meta"> <div class="summary-compact__meta">
<header> <header>
<h5 class="title h6"><a href='{{ .Permalink }}'> {{ .Title }}</a> </h5> <h5 class="title h6"><a href='{{ .Permalink }}'> {{ .Title }}</a> </h5>
<h6 class="subtitle caption"><time title="{{ i18n "tooltip-written" }}">📅 {{ .Date.Format (i18n "summary-dateformat") }} </time> {{ if .GitInfo }} <time title="{{ i18n "tooltip-modified" }}"> &middot; 📝 {{ .Lastmod.Format (i18n "summary-dateformat") }} </time> {{ end }} <span title="{{ i18n "tooltip-reading-time" }}"> &middot; ☕ {{ .ReadingTime }} {{ i18n "reading-time" }}</span>{{ with .Params.Author }}&middot; <span title="{{ i18n "single-writtenBy" }}">{{if $params.AuthorEmoji }}{{ $params.AuthorEmoji }}{{ else }}✍️{{ end }}&nbsp;{{ . }}</span>{{ end }}</h6> <h6 class="subtitle caption"><time title="{{ i18n "tooltip-written" }}" dir="{{ if ne ($.Param "languagedir") "rtl" }}ltr{{ else }}rtl{{ end }}">📅 {{ .Date.Format (i18n "summary-dateformat") }} </time> {{ if .GitInfo }} <time title="{{ i18n "tooltip-modified" }}" dir="{{ if ne ($.Param "languagedir") "rtl" }}ltr{{ else }}rtl{{ end }}"> &middot; 📝 {{ .Lastmod.Format (i18n "summary-dateformat") }} </time> {{ end }} <span title="{{ i18n "tooltip-reading-time" }}" dir="{{ if ne ($.Param "languagedir") "rtl" }}ltr{{ else }}rtl{{ end }}"> &middot; ☕ {{ .ReadingTime }} {{ i18n "reading-time" }}</span>{{ with .Params.Author }}&middot; <span title="{{ i18n "single-writtenBy" }}" dir="{{ if ne ($.Param "languagedir") "rtl" }}ltr{{ else }}rtl{{ end }}">{{if $params.AuthorEmoji }}{{ $params.AuthorEmoji }}{{ else }}✍️{{ end }}&nbsp;{{ . }}</span>{{ end }}</h6>
</header> </header>
<div class="summary-compact__tag--wrapper"> <div class="summary-compact__tag--wrapper">
{{ range $params.tags }} {{ range $params.tags }}

View File

@ -0,0 +1 @@
<svg fill="currentColor" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="{{ .width }}" height="{{ .height }}"><path d="M5.904 22.827L5.576 21.303 6.553 21.092 6.646 21.522 7.064 21.382 7.383 22.329zM5.136 19.262l-.44-2.041.977-.211.44 2.041L5.136 19.262zM3.725 15.604c-.386-.631-.695-1.305-.918-2.003l.953-.305c.198.622.474 1.223.818 1.785L3.725 15.604zM9.396 21.651l-.32-.947 1.979-.667.32.947L9.396 21.651zM13.237 20.387l-.068-.998c.66-.045 1.316-.158 1.951-.337l.271.963C14.69 20.212 13.966 20.337 13.237 20.387zM17.424 19.203l-.467-.885c.588-.311 1.139-.683 1.639-1.104l.645.764C18.687 18.446 18.075 18.858 17.424 19.203zM20.75 16.386l-.799-.602c.399-.529.733-1.1.993-1.696l.916.4C21.569 15.155 21.196 15.794 20.75 16.386zM22.491 12.378l-.986-.17c.076-.44.114-.895.114-1.35-.001-.204-.008-.407-.023-.609l.998-.072c.016.224.024.45.025.68C22.619 11.37 22.576 11.881 22.491 12.378zM2.398 11.425c-.012-.188-.018-.377-.018-.566 0-.548.05-1.097.147-1.632l.984.18c-.088.477-.132.965-.132 1.452 0 .17.006.338.016.506L2.398 11.425zM21.212 8.329c-.204-.617-.485-1.215-.835-1.776l.848-.529c.393.629.707 1.299.937 1.991L21.212 8.329zM4.098 7.535L3.187 7.123c.3-.664.682-1.298 1.134-1.884l.791.611C4.707 6.375 4.365 6.941 4.098 7.535zM19.149 5.013c-.462-.463-.98-.878-1.541-1.235l.537-.844c.623.396 1.198.858 1.711 1.372L19.149 5.013zM6.484 4.436L5.848 3.664C6.41 3.201 7.025 2.796 7.679 2.461L8.136 3.35C7.547 3.653 6.99 4.019 6.484 4.436zM15.836 2.898c-.617-.229-1.263-.394-1.919-.49l.146-.99c.725.107 1.438.29 2.12.543L15.836 2.898zM9.981 2.636l-.26-.965c.701-.189 1.428-.307 2.157-.349l.059.998C11.275 2.358 10.617 2.465 9.981 2.636zM8.177 19.543L7.426 15.782C5.891 14.493 5.018 12.708 5.018 10.83c0-3.742 3.358-6.786 7.486-6.786 4.128 0 7.486 3.044 7.486 6.786 0 3.741-3.358 6.785-7.486 6.785-.146 0-.287-.013-.427-.028zM12.504 6.044c-3.025 0-5.486 2.147-5.486 4.786 0 1.367.7 2.68 1.92 3.601l.304.229.383 1.921 2.07-1.039.279.022c.087.008.172.018.258.027.09.012.179.024.272.024 3.025 0 5.486-2.146 5.486-4.785 0-2.639-2.461-4.786-5.486-4.786z"/></svg>

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

@ -0,0 +1 @@
<svg fill="currentColor" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="{{ .width }}" height="{{ .height }}"> <path d="M 12.011719 2 C 6.5057187 2 2.0234844 6.478375 2.0214844 11.984375 C 2.0204844 13.744375 2.4814687 15.462563 3.3554688 16.976562 L 2 22 L 7.2324219 20.763672 C 8.6914219 21.559672 10.333859 21.977516 12.005859 21.978516 L 12.009766 21.978516 C 17.514766 21.978516 21.995047 17.499141 21.998047 11.994141 C 22.000047 9.3251406 20.962172 6.8157344 19.076172 4.9277344 C 17.190172 3.0407344 14.683719 2.001 12.011719 2 z M 12.009766 4 C 14.145766 4.001 16.153109 4.8337969 17.662109 6.3417969 C 19.171109 7.8517969 20.000047 9.8581875 19.998047 11.992188 C 19.996047 16.396187 16.413812 19.978516 12.007812 19.978516 C 10.674812 19.977516 9.3544062 19.642812 8.1914062 19.007812 L 7.5175781 18.640625 L 6.7734375 18.816406 L 4.8046875 19.28125 L 5.2851562 17.496094 L 5.5019531 16.695312 L 5.0878906 15.976562 C 4.3898906 14.768562 4.0204844 13.387375 4.0214844 11.984375 C 4.0234844 7.582375 7.6067656 4 12.009766 4 z M 8.4765625 7.375 C 8.3095625 7.375 8.0395469 7.4375 7.8105469 7.6875 C 7.5815469 7.9365 6.9355469 8.5395781 6.9355469 9.7675781 C 6.9355469 10.995578 7.8300781 12.182609 7.9550781 12.349609 C 8.0790781 12.515609 9.68175 15.115234 12.21875 16.115234 C 14.32675 16.946234 14.754891 16.782234 15.212891 16.740234 C 15.670891 16.699234 16.690438 16.137687 16.898438 15.554688 C 17.106437 14.971687 17.106922 14.470187 17.044922 14.367188 C 16.982922 14.263188 16.816406 14.201172 16.566406 14.076172 C 16.317406 13.951172 15.090328 13.348625 14.861328 13.265625 C 14.632328 13.182625 14.464828 13.140625 14.298828 13.390625 C 14.132828 13.640625 13.655766 14.201187 13.509766 14.367188 C 13.363766 14.534188 13.21875 14.556641 12.96875 14.431641 C 12.71875 14.305641 11.914938 14.041406 10.960938 13.191406 C 10.218937 12.530406 9.7182656 11.714844 9.5722656 11.464844 C 9.4272656 11.215844 9.5585938 11.079078 9.6835938 10.955078 C 9.7955938 10.843078 9.9316406 10.663578 10.056641 10.517578 C 10.180641 10.371578 10.223641 10.267562 10.306641 10.101562 C 10.389641 9.9355625 10.347156 9.7890625 10.285156 9.6640625 C 10.223156 9.5390625 9.737625 8.3065 9.515625 7.8125 C 9.328625 7.3975 9.131125 7.3878594 8.953125 7.3808594 C 8.808125 7.3748594 8.6425625 7.375 8.4765625 7.375 z"/></svg>

After

Width:  |  Height:  |  Size: 2.3 KiB