Add valid Atom feed badge

This commit is contained in:
Helen Chong 2024-08-12 12:53:46 +08:00
parent 0abfc2509f
commit 9b34b8fa50
3 changed files with 8 additions and 6 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -145,7 +145,6 @@ a.link-btn[href^="http"]:not([href*="leilukin.com"]) { padding-right: calc(var(-
display: flex;
flex-wrap: wrap;
gap: 0.5em;
align-items: center;
list-style-type: "";
padding: 0;
margin: 0;
@ -159,9 +158,9 @@ a.link-btn[href^="http"]:not([href*="leilukin.com"]) { padding-right: calc(var(-
}
}
/* Adoptables wrapper */
.adoptables { align-items: flex-end; }
p + .adoptables { margin-top: 1em; }
.web-badges { justify-content: center; }
/* Tabs */
.tabwrap section { display: none; }

View File

@ -185,10 +185,13 @@ by Ann Magill (2021)") }}
<section class="content__section">
<h2>Badges</h2>
<div id="wcb" class="carbonbadge wcb-d">
<noscript>
<p>Looks like you have JavaScript disabled. JavaScript is required to display the <a href="https://www.websitecarbon.com/badge/">Website Carbon badge</a>.</p>
</noscript>
<div class="web-graphics web-badges">
<a href="https://validator.w3.org/feed/check.cgi?url=https%3A//leilukin.com/feed.xml"><img src="/assets/buttons/badges/valid-atom.png" alt="Valid Atom 1.0" width="88" height="31" loading="lazy"></a>
<div id="wcb" class="carbonbadge wcb-d">
<noscript>
<p>Looks like you have JavaScript disabled. JavaScript is required to display the <a href="https://www.websitecarbon.com/badge/">Website Carbon badge</a>.</p>
</noscript>
</div>
</div>
<script src="https://unpkg.com/website-carbon-badges@1.1.3/b.min.js" defer></script>
</section>