mirror of
https://github.com/vinta/awesome-python.git
synced 2026-04-12 02:31:43 +08:00
Adds a fixed-position button that fades in after scrolling 600px and smoothly scrolls back to the top on click. Hidden by default via the HTML hidden attribute so noscript users never see it. Co-Authored-By: Claude <noreply@anthropic.com>
67 lines
2.2 KiB
HTML
67 lines
2.2 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<title>{% block title %}Awesome Python{% endblock %}</title>
|
|
<meta
|
|
name="description"
|
|
content="{% block description %}An opinionated list of awesome Python frameworks, libraries, software and resources. {{ total_entries }} libraries across {{ categories | length }} categories.{% endblock %}"
|
|
/>
|
|
<link rel="canonical" href="https://awesome-python.com/" />
|
|
<meta property="og:type" content="website" />
|
|
<meta property="og:title" content="Awesome Python" />
|
|
<meta
|
|
property="og:description"
|
|
content="An opinionated list of awesome Python frameworks, libraries, software and resources."
|
|
/>
|
|
<meta property="og:url" content="https://awesome-python.com/" />
|
|
<meta name="twitter:card" content="summary" />
|
|
<link rel="icon" href="/static/favicon.svg" type="image/svg+xml" />
|
|
<link rel="stylesheet" href="/static/style.css" />
|
|
<script
|
|
async
|
|
src="https://www.googletagmanager.com/gtag/js?id=G-0LMLYE0HER"
|
|
></script>
|
|
<script>
|
|
window.dataLayer = window.dataLayer || [];
|
|
function gtag() {
|
|
dataLayer.push(arguments);
|
|
}
|
|
gtag("js", new Date());
|
|
gtag("config", "G-0LMLYE0HER");
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<a href="#content" class="skip-link">Skip to content</a>
|
|
|
|
<main id="content">{% block content %}{% endblock %}</main>
|
|
|
|
<button class="back-to-top" aria-label="Back to top" hidden>↑ Top</button>
|
|
|
|
<footer class="footer">
|
|
<span
|
|
>Made by
|
|
<a href="https://vinta.ws/" target="_blank" rel="noopener"
|
|
>Vinta</a
|
|
></span
|
|
>
|
|
<span class="footer-sep">/</span>
|
|
<a href="https://github.com/vinta" target="_blank" rel="noopener"
|
|
>GitHub</a
|
|
>
|
|
<span class="footer-sep">/</span>
|
|
<a href="https://twitter.com/vinta" target="_blank" rel="noopener"
|
|
>Twitter</a
|
|
>
|
|
</footer>
|
|
|
|
<noscript
|
|
><p class="noscript-msg">
|
|
JavaScript is needed for search and filtering.
|
|
</p></noscript
|
|
>
|
|
<script src="/static/main.js"></script>
|
|
</body>
|
|
</html>
|