mirror of
https://github.com/vinta/awesome-python.git
synced 2026-03-25 04:23:49 -05:00
style(html): reformat templates for consistent attribute and block spacing
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -15,7 +15,10 @@
|
||||
property="og:description"
|
||||
content="An opinionated list of Python frameworks, libraries, tools, and resources."
|
||||
/>
|
||||
<meta property="og:image" content="https://awesome-python.com/static/og-image.png" />
|
||||
<meta
|
||||
property="og:image"
|
||||
content="https://awesome-python.com/static/og-image.png"
|
||||
/>
|
||||
<meta property="og:url" content="https://awesome-python.com/" />
|
||||
<meta name="twitter:card" content="summary" />
|
||||
<meta name="theme-color" content="#1c1410" />
|
||||
@@ -26,11 +29,12 @@
|
||||
href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600&family=Manrope:wght@400;600;700;800&display=swap"
|
||||
rel="stylesheet"
|
||||
media="print"
|
||||
onload="this.media='all'"
|
||||
onload="this.media = 'all'"
|
||||
/>
|
||||
<noscript><link
|
||||
href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600&family=Manrope:wght@400;600;700;800&display=swap"
|
||||
rel="stylesheet"
|
||||
<noscript
|
||||
><link
|
||||
href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600&family=Manrope:wght@400;600;700;800&display=swap"
|
||||
rel="stylesheet"
|
||||
/></noscript>
|
||||
<link rel="stylesheet" href="/static/style.css" />
|
||||
<script
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{% extends "base.html" %} {% block header %}
|
||||
{% extends "base.html" %}
|
||||
{% block header %}
|
||||
<header class="hero">
|
||||
<div class="hero-sheen" aria-hidden="true"></div>
|
||||
<div class="hero-noise" aria-hidden="true"></div>
|
||||
@@ -62,7 +63,8 @@
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
{% endblock %} {% block content %}
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
<section class="results-section" id="library-index">
|
||||
<div class="results-intro section-shell" data-reveal>
|
||||
<div>
|
||||
@@ -180,21 +182,13 @@
|
||||
{{ subcat.name }}
|
||||
</button>
|
||||
{% endfor %} {% for cat in entry.categories %}
|
||||
<button class="tag" data-value="{{ cat }}">
|
||||
{{ cat }}
|
||||
</button>
|
||||
<button class="tag" data-value="{{ cat }}">{{ cat }}</button>
|
||||
{% endfor %}
|
||||
<button
|
||||
class="tag tag-group"
|
||||
data-value="{{ entry.groups[0] }}"
|
||||
>
|
||||
<button class="tag tag-group" data-value="{{ entry.groups[0] }}">
|
||||
{{ entry.groups[0] }}
|
||||
</button>
|
||||
{% if entry.source_type == 'Built-in' %}
|
||||
<button
|
||||
class="tag tag-source"
|
||||
data-value="Built-in"
|
||||
>
|
||||
<button class="tag tag-source" data-value="Built-in">
|
||||
Built-in
|
||||
</button>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user