fix: image relative path in rss feed, modify the path of the local images

-
This commit is contained in:
radishzzz 2025-05-10 21:59:45 +01:00
parent 4d3ce1f73f
commit 385b5508aa
27 changed files with 220 additions and 164 deletions

View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="179" height="32" fill="none"><g clip-path="url(#a)"><path fill="#2E51ED" d="M173 0H6a6 6 0 0 0-6 6v20a6 6 0 0 0 6 6h167a6 6 0 0 0 6-6V6a6 6 0 0 0-6-6"/><path fill="#fff" d="M15.027 23.227h-.246l-1.225-1.178v-.236l1.873-1.802h1.298l.173.167v1.248zM13.556 9.9v-.236l1.225-1.179h.246l1.873 1.802v1.248l-.173.166h-1.298zm10.787 9.529h-1.782l-.15-.143v-4.013c0-.714-.291-1.268-1.187-1.287-.46-.011-.988 0-1.551.021l-.085.084v5.193l-.149.143h-1.782l-.15-.143v-6.855l.15-.144h4.012c1.56 0 2.823 1.215 2.823 2.715v4.286zM15.28 16.86H8.15L8 16.716v-1.718l.149-.143h7.131l.15.143v1.718zm18.573 0h-7.131l-.15-.144v-1.718l.15-.143h7.131l.149.143v1.718zm-13.88-6.717V5l.149-.143h1.787l.148.143v5.143l-.148.144h-1.787zm0 16.571v-5.143l.149-.143h1.787l.148.143v5.143l-.148.143h-1.787zM155.15 10.64c-.43.42-.64 1-.64 1.75v1.04h-1.23v1.67h1.23v6.09h1.96V15.1h1.64v-1.67h-1.64v-1.05c0-.53.28-.8.83-.8h1.04V10h-1.4c-.76 0-1.35.21-1.78.64zm-4.22-.51c-.36 0-.66.12-.88.35-.21.22-.32.5-.32.84s.11.63.32.87c.22.23.52.35.88.35s.64-.12.85-.35c.22-.23.34-.52.34-.87s-.11-.62-.34-.84c-.22-.23-.5-.35-.85-.35m-77.7.01h1.96v11.05h-1.96z"/><path fill="#fff" fill-rule="evenodd" d="M47.32 10.63c1.17 0 2.17.21 3.01.64.84.42 1.48 1.03 1.92 1.82.45.79.67 1.74.67 2.83s-.22 2.04-.67 2.83c-.44.79-1.08 1.39-1.92 1.81s-1.84.63-3.01.63H44V10.63zm-.09 8.59q1.62 0 2.55-.87v.01c.63-.59.94-1.39.94-2.44s-.31-1.87-.94-2.45q-.93-.87-2.55-.87h-1.12v6.62zm10.93-5.93c.8 0 1.49.16 2.09.5l-.01-.01c.61.33 1.07.79 1.4 1.39s.49 1.3.49 2.09v.66h-5.85c.03.26.08.52.19.74.16.3.38.53.67.7s.64.25 1.05.25.76-.07 1.04-.2.49-.32.63-.55h2.1c-.16.47-.42.9-.77 1.27-.34.38-.78.66-1.3.87-.51.21-1.09.31-1.72.31-.79 0-1.49-.16-2.1-.49-.6-.33-1.06-.8-1.4-1.41-.33-.6-.49-1.31-.49-2.11s.16-1.5.49-2.1.79-1.07 1.39-1.41c.61-.33 1.3-.5 2.1-.5m0 1.7c-.36 0-.69.09-.98.27-.29.16-.52.4-.69.71-.08.17-.14.34-.18.52h3.74a1.71 1.71 0 0 0-.9-1.26c-.29-.16-.63-.24-.99-.24m12-1.25c-.52-.32-1.12-.48-1.81-.48s-1.29.16-1.78.48c-.29.19-.52.45-.71.73v-1.04H63.9v10.42h1.96v-3.69c.2.29.43.54.71.74.49.33 1.08.49 1.78.49s1.28-.16 1.81-.48c.52-.33.93-.79 1.22-1.4.29-.62.43-1.34.43-2.18s-.14-1.58-.43-2.18c-.29-.62-.7-1.08-1.22-1.4zm-.66 4.86c-.17.35-.4.62-.7.81-.29.19-.62.28-.99.28-.59 0-1.06-.21-1.41-.62-.35-.42-.53-.99-.53-1.72s.18-1.28.53-1.69.83-.62 1.41-.62c.37 0 .7.1.99.29.3.19.53.46.7.81s.25.75.25 1.2-.08.89-.25 1.25zm13.35-4.81c-.62-.35-1.34-.53-2.17-.53s-1.55.18-2.17.53c-.61.35-1.07.83-1.4 1.44-.33.62-.49 1.31-.49 2.09s.16 1.47.49 2.09c.33.61.79 1.09 1.4 1.44.62.35 1.34.53 2.17.53s1.55-.18 2.17-.53 1.08-.84 1.4-1.46c.33-.62.49-1.31.49-2.07s-.16-1.47-.49-2.09c-.32-.62-.78-1.1-1.4-1.44m-.42 4.7c-.16.34-.39.6-.7.78-.3.19-.65.28-1.05.28s-.77-.09-1.06-.28c-.3-.19-.53-.45-.7-.78-.16-.34-.24-.73-.24-1.18s.08-.85.24-1.19c.17-.34.4-.59.7-.77.3-.19.65-.28 1.06-.28s.75.09 1.05.28c.31.18.54.44.7.78.17.34.25.73.25 1.18s-.08.84-.25 1.18" clip-rule="evenodd"/><path fill="#fff" d="m87.11 13.43 2.04 5.07 2.11-5.07h1.89l-4.31 10.32h-1.89l1.19-2.85-3.01-7.47zm15.6-2.45h-1.96v2.45h-1.49v1.67h1.49v6.09h1.96V15.1h1.68v-1.67h-1.68z"/><path fill="#fff" fill-rule="evenodd" d="M109.18 13.26c.83 0 1.55.18 2.17.53.62.34 1.08.82 1.4 1.44.33.62.49 1.33.49 2.09s-.16 1.45-.49 2.07c-.32.62-.78 1.11-1.4 1.46s-1.34.53-2.17.53-1.55-.18-2.17-.53c-.61-.35-1.07-.83-1.4-1.44-.33-.62-.49-1.31-.49-2.09s.16-1.47.49-2.09c.33-.61.79-1.09 1.4-1.44.62-.35 1.34-.53 2.17-.53m1.05 6.01c.31-.18.54-.44.7-.78.17-.34.25-.73.25-1.18s-.08-.84-.25-1.18c-.16-.34-.39-.6-.7-.78-.3-.19-.64-.28-1.05-.28s-.76.09-1.06.28c-.3.18-.53.43-.7.77-.16.34-.24.74-.24 1.19s.08.84.24 1.18c.17.33.4.59.7.78.29.19.66.28 1.06.28s.75-.09 1.05-.28" clip-rule="evenodd"/><path fill="#fff" d="m126.91 16.02-4.69-5.39h-1.81v10.56h2.11v-6.93l4.39 5.05v1.88h2.11V10.63h-2.11z"/><path fill="#fff" fill-rule="evenodd" d="M134.5 13.29c.8 0 1.49.16 2.09.5l-.01-.01c.61.33 1.07.79 1.4 1.39s.49 1.3.49 2.09v.66h-5.85c.03.26.08.52.19.74.16.3.38.53.67.7s.64.25 1.05.25.76-.07 1.04-.2.49-.32.63-.55h2.1c-.16.47-.42.9-.77 1.27-.34.38-.78.66-1.3.87-.51.21-1.09.31-1.72.31-.79 0-1.49-.16-2.1-.49-.6-.33-1.06-.8-1.4-1.41-.33-.6-.49-1.31-.49-2.11s.16-1.5.49-2.1.79-1.07 1.39-1.41c.61-.33 1.3-.5 2.1-.5m0 1.7c-.36 0-.69.09-.98.27-.29.16-.52.4-.69.71-.08.17-.14.34-.18.52h3.74a1.71 1.71 0 0 0-.9-1.26c-.29-.16-.63-.24-.99-.24" clip-rule="evenodd"/><path fill="#fff" d="M142.58 10.98h-1.96v2.45h-1.48v1.67h1.48v6.09h1.96V15.1h1.68v-1.67h-1.68zm3.34-.84h1.96v11.05h-1.96zm4.03 11.04v-7.92c.26.19.58.29.98.29s.73-.09.98-.29v7.92zm13.19-2.68 2.12-5.07h1.89l-4.31 10.32h-1.89l1.19-2.85-3.01-7.47h1.97z"/></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h179v32H0z"/></clipPath></defs></svg>

After

Width:  |  Height:  |  Size: 4.6 KiB

1
images/deploy-vercel.svg Normal file
View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="171" height="32" fill="none"><path fill="#1A1A1A" stroke="#363636" d="M5.732.5h159.536c2.868 0 5.232 2.44 5.232 5.5v20c0 3.06-2.364 5.5-5.232 5.5H5.732C2.864 31.5.5 29.06.5 26V6C.5 2.94 2.864.5 5.732.5Z"/><path fill="#fff" d="m21.29 6 10.093 18H11.196zM44.216 21V10.312h2.912q1.28 0 2.336.272 1.072.256 1.856.864t1.216 1.648q.432 1.024.432 2.544 0 1.536-.432 2.576-.432 1.024-1.216 1.648a5 5 0 0 1-1.856.88 10 10 0 0 1-2.336.256zm1.504-1.264h1.376q.832 0 1.6-.128a3.7 3.7 0 0 0 1.392-.544q.624-.416.976-1.232.368-.832.368-2.192t-.368-2.16q-.352-.817-.976-1.216a3.4 3.4 0 0 0-1.392-.544 8.7 8.7 0 0 0-1.6-.144H45.72zm12.542 1.456q-1.248 0-2.112-.544a3.73 3.73 0 0 1-1.328-1.488q-.448-.944-.448-2.112 0-1.264.512-2.176.512-.928 1.376-1.424a3.84 3.84 0 0 1 1.968-.512q.944 0 1.664.384.72.367 1.184 1.008.48.624.688 1.424a4.7 4.7 0 0 1 .16 1.648h-6.112q.032.992.432 1.568.415.576.976.816.56.224 1.04.224.672 0 1.12-.208.463-.224.736-.576l1.296.384q-.432.688-1.232 1.136-.801.448-1.92.448m-2.432-4.864h4.672q0-.56-.288-1.072a2.17 2.17 0 0 0-.784-.832q-.497-.336-1.2-.336-.592 0-1.12.224-.528.225-.88.72-.337.496-.4 1.296m7.68 7.248V13.064h.977l.368 1.248a2.7 2.7 0 0 1 1.008-.992q.64-.384 1.568-.384.912 0 1.68.496.783.48 1.248 1.408.48.913.48 2.224 0 1.296-.48 2.224-.465.928-1.248 1.424-.768.48-1.68.48-.929 0-1.568-.368a2.8 2.8 0 0 1-1.008-1.024v3.776zm3.569-3.536q1.023 0 1.632-.784.624-.784.624-2.192 0-1.424-.624-2.192-.609-.784-1.632-.784-1.024 0-1.648.784-.609.768-.608 2.192 0 1.409.608 2.192.624.784 1.648.784m7.366.96q-.751 0-1.168-.144a.96.96 0 0 1-.56-.592q-.144-.432-.144-1.248v-8.688h1.344v8.464q0 .608.128.816t.688.208h.304V21zm5.252.192q-.688 0-1.36-.24a3.8 3.8 0 0 1-1.232-.736 3.8 3.8 0 0 1-.88-1.296q-.336-.784-.336-1.856t.336-1.856q.337-.785.88-1.28a3.6 3.6 0 0 1 1.232-.752q.672-.24 1.36-.24t1.36.24q.689.24 1.232.752.56.495.88 1.28.336.784.336 1.856t-.336 1.856a3.5 3.5 0 0 1-.88 1.296q-.543.495-1.232.736-.672.24-1.36.24m0-1.184q.576 0 1.12-.304.545-.32.896-.96.352-.656.352-1.68t-.352-1.664q-.351-.655-.896-.96a2.2 2.2 0 0 0-1.12-.32 2.24 2.24 0 0 0-1.12.32q-.543.304-.896.96-.351.64-.352 1.664 0 1.024.352 1.68.353.64.896.96.56.304 1.12.304m5.004 3.568v-1.184h.544q.576 0 .88-.096a.77.77 0 0 0 .48-.384q.192-.287.368-.896L84.11 13.08h1.488l1.952 6.112 1.952-6.112h1.472l-2.816 8.272q-.288.848-.592 1.328-.288.495-.784.688-.495.208-1.392.208zM98.99 21q-.751 0-1.168-.144a.96.96 0 0 1-.56-.592q-.144-.432-.144-1.248v-4.88h-1.344v-1.072h1.344v-2h1.344v2h1.536v1.072h-1.536v4.656q0 .608.112.816.128.208.704.208h.72V21zm6.068.192q-.688 0-1.36-.24a3.75 3.75 0 0 1-1.232-.736 3.8 3.8 0 0 1-.88-1.296q-.336-.784-.336-1.856t.336-1.856q.336-.785.88-1.28a3.6 3.6 0 0 1 1.232-.752q.672-.24 1.36-.24t1.36.24q.687.24 1.232.752.56.495.88 1.28.336.784.336 1.856t-.336 1.856a3.55 3.55 0 0 1-.88 1.296q-.545.495-1.232.736a4 4 0 0 1-1.36.24m0-1.184q.576 0 1.12-.304.543-.32.896-.96.351-.656.352-1.68 0-1.024-.352-1.664-.353-.655-.896-.96a2.2 2.2 0 0 0-1.12-.32q-.56 0-1.12.32-.545.304-.896.96-.352.64-.352 1.664t.352 1.68q.351.64.896.96.56.304 1.12.304m12.72.992-3.664-10.688h1.648l2.896 8.928 2.912-8.928h1.648L119.537 21zm9.344.192q-1.248 0-2.112-.544a3.7 3.7 0 0 1-1.328-1.488q-.448-.944-.448-2.112 0-1.264.512-2.176a3.6 3.6 0 0 1 1.376-1.424 3.84 3.84 0 0 1 1.968-.512q.944 0 1.664.384.72.367 1.184 1.008.48.624.688 1.424.224.8.16 1.648h-6.112q.031.992.432 1.568.416.576.976.816.56.224 1.04.224.672 0 1.12-.208.464-.224.736-.576l1.296.384q-.432.688-1.232 1.136t-1.92.448m-2.432-4.864h4.672q0-.56-.288-1.072a2.17 2.17 0 0 0-.784-.832q-.496-.336-1.2-.336-.592 0-1.12.224-.528.225-.88.72-.336.496-.4 1.296M132.37 21v-7.936h.976l.432 1.472a3.2 3.2 0 0 1 1.12-1.152q.72-.448 1.712-.448v1.392h-.24q-.112 0-.224.016-1.36.113-1.904.944-.528.832-.528 2.304V21zm8.622.192q-1.137 0-1.968-.528a3.6 3.6 0 0 1-1.281-1.472q-.447-.928-.447-2.128 0-1.184.464-2.112.48-.944 1.344-1.472.864-.544 2.032-.544 1.071 0 1.84.528.768.528 1.152 1.264l-1.232.448a1.93 1.93 0 0 0-.752-.768 2.16 2.16 0 0 0-1.104-.288q-.592 0-1.12.32-.528.304-.848.96-.32.64-.32 1.648 0 .992.32 1.664.335.656.848.976.528.32 1.12.32.656 0 1.136-.288.495-.304.752-.752l1.232.448a3.7 3.7 0 0 1-1.28 1.28q-.832.495-1.888.496m8.192 0q-1.248 0-2.112-.544a3.73 3.73 0 0 1-1.329-1.488q-.447-.944-.447-2.112 0-1.264.512-2.176a3.6 3.6 0 0 1 1.376-1.424 3.84 3.84 0 0 1 1.968-.512q.944 0 1.664.384.72.367 1.184 1.008.48.624.688 1.424.223.8.16 1.648h-6.112q.031.992.432 1.568.415.576.976.816.56.224 1.04.224.672 0 1.12-.208.463-.224.736-.576l1.296.384q-.432.688-1.232 1.136-.801.448-1.92.448m-2.432-4.864h4.672q0-.56-.288-1.072a2.2 2.2 0 0 0-.784-.832q-.496-.336-1.2-.336-.592 0-1.12.224-.528.225-.88.72-.337.496-.4 1.296M156.305 21q-.753 0-1.168-.144a.96.96 0 0 1-.56-.592q-.144-.432-.144-1.248v-8.688h1.344v8.464q0 .608.128.816.127.208.688.208h.304V21z"/></svg>

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 240 KiB

View file

@ -0,0 +1,159 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" class="theme--agnostic" fill="none" width="1000" height="330">
<style>
.gauge-base {
opacity: 0.1
}
.gauge-arc {
fill: none;
animation-delay: 250ms;
stroke-linecap: round;
transform: rotate(-90deg);
transform-origin: 100px 60px;
animation: load-gauge 1s ease forwards
}
.guage-text {
font-size: 40px;
font-family: monospace;
text-align: center
}
.guage-red {
color: #ff4e42;
fill: #ff4e42;
stroke: #ff4e42
}
.guage-orange {
color: #ffa400;
fill: #ffa400;
stroke: #ffa400
}
.guage-green {
color: #0cce6b;
fill: #0cce6b;
stroke: #0cce6b
}
.theme--agnostic .guage-undefined {
color: #5c5c5c;
fill: #5c5c5c;
stroke: #5c5c5c
}
.theme--light .guage-undefined {
color: #1e1e1e;
fill: #1e1e1e;
stroke: #1e1e1e
}
.theme--dark .guage-undefined {
color: #f5f5f5;
fill: #f5f5f5;
stroke: #f5f5f5
}
.guage-title {
stroke: none;
font-size: 26px;
line-height: 26px;
font-family: Roboto, Halvetica, Arial, sans-serif
}
.metric.guage-title {
font-family: 'Courier New', Courier, monospace
}
.theme--agnostic .guage-title {
color: #737373;
fill: #737373
}
.theme--light .guage-title {
color: #212121;
fill: #212121
}
.theme--dark .guage-title {
color: #f5f5f5;
fill: #f5f5f5
}
@keyframes load-gauge {
from {
stroke-dasharray: 0 352.858
}
}
.lh-gauge--pwa__disc {
fill: #e0e0e0
}
.lh-gauge--pwa__logo {
position: relative;
fill: #b0b0b0
}
.lh-gauge--pwa__invisible {
display: none
}
.lh-gauge--pwa__visible {
display: inline
}
.guage-invisible {
display: none
}
.lh-gauge--pwa__logo--primary-color {
fill: #304ffe
}
.theme--agnostic .lh-gauge--pwa__logo--secondary-color {
fill: #787878
}
.theme--light .lh-gauge--pwa__logo--secondary-color {
fill: #3d3d3d
}
.theme--dark .lh-gauge--pwa__logo--secondary-color {
fill: #d8b6b6
}
.theme--light #svg_2 {
stroke: #00000022
}
.theme--agnostic #svg_2 {
stroke: #616161
}
.theme--light #svg_2 {
stroke: #00000022
}
.theme--dark #svg_2 {
stroke: #f5f5f566
}
</style>
<svg class="guage-div guage-perf guage-green" viewBox="0 0 200 200" width="200" height="200" x="100" y="0">
<circle class="gauge-base" r="56" cx="100" cy="60" stroke-width="8"/>
<circle class="gauge-arc guage-arc-1" r="56" cx="100" cy="60" stroke-width="8" style="stroke-dasharray: 351.858, 351.858;"/>
<text class="guage-text" x="100px" y="60px" alignment-baseline="central" dominant-baseline="central" text-anchor="middle">100</text>
<text class="guage-title" x="100px" y="160px" alignment-baseline="central" dominant-baseline="central" text-anchor="middle">Performance</text>
</svg>,<svg class="guage-div guage-perf guage-green" viewBox="0 0 200 200" width="200" height="200" x="300" y="0">
<circle class="gauge-base" r="56" cx="100" cy="60" stroke-width="8"/>
<circle class="gauge-arc guage-arc-1" r="56" cx="100" cy="60" stroke-width="8" style="stroke-dasharray: 351.858, 351.858;"/>
<text class="guage-text" x="100px" y="60px" alignment-baseline="central" dominant-baseline="central" text-anchor="middle">100</text>
<text class="guage-title" x="100px" y="160px" alignment-baseline="central" dominant-baseline="central" text-anchor="middle">Accessibility</text>
</svg>,<svg class="guage-div guage-perf guage-green" viewBox="0 0 200 200" width="200" height="200" x="500" y="0">
<circle class="gauge-base" r="56" cx="100" cy="60" stroke-width="8"/>
<circle class="gauge-arc guage-arc-1" r="56" cx="100" cy="60" stroke-width="8" style="stroke-dasharray: 351.858, 351.858;"/>
<text class="guage-text" x="100px" y="60px" alignment-baseline="central" dominant-baseline="central" text-anchor="middle">100</text>
<text class="guage-title" x="100px" y="160px" alignment-baseline="central" dominant-baseline="central" text-anchor="middle">Best Practices</text>
</svg>,<svg class="guage-div guage-perf guage-green" viewBox="0 0 200 200" width="200" height="200" x="700" y="0">
<circle class="gauge-base" r="56" cx="100" cy="60" stroke-width="8"/>
<circle class="gauge-arc guage-arc-1" r="56" cx="100" cy="60" stroke-width="8" style="stroke-dasharray: 351.858, 351.858;"/>
<text class="guage-text" x="100px" y="60px" alignment-baseline="central" dominant-baseline="central" text-anchor="middle">100</text>
<text class="guage-title" x="100px" y="160px" alignment-baseline="central" dominant-baseline="central" text-anchor="middle">SEO</text>
</svg>
<svg width="604" height="76" x="200" y="250">
<g>
<rect fill="none" id="canvas_background" height="80" width="604" y="-1" x="-1"/>
<g display="none" overflow="visible" y="0" x="0" height="100%" width="100%" id="canvasGrid">
<rect fill="url(#gridpattern)" stroke-width="0" y="0" x="0" height="100%" width="100%"/>
</g>
</g>
<g>
<rect fill-opacity="0" stroke-width="2" rx="40" id="svg_2" height="72" width="600" y="1" x="0" fill="#000000"/>
<rect stroke="#000" rx="8" id="svg_3" height="14" width="48" y="30" x="35" stroke-opacity="null" stroke-width="0" fill="#ff4e42"/>
<rect stroke="#000" rx="6" id="svg_4" height="14" width="48" y="30" x="220" stroke-opacity="null" stroke-width="0" fill="#ffa400"/>
<rect stroke="#000" rx="6" id="svg_5" height="14" width="48" y="30" x="410" stroke-opacity="null" stroke-width="0" fill="#0cce6b"/>
<text class="metric guage-title" xml:space="preserve" text-anchor="start" font-size="26" id="svg_6" y="45" x="100" stroke-opacity="null" stroke-width="0" stroke="#000">0-49</text>
<text class="metric guage-title" xml:space="preserve" text-anchor="start" font-size="26" id="svg_7" y="45" x="280" stroke-opacity="null" stroke-width="0" stroke="#000">50-89</text>
<text class="metric guage-title" xml:space="preserve" text-anchor="start" font-size="26" id="svg_8" y="45" x="470" stroke-opacity="null" stroke-width="0" stroke="#000">90-100</text>
</g>
</svg>
</svg>

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 227 KiB