Skip to content

Commit cccfc1d

Browse files
committed
Some small twerks
1 parent 0600723 commit cccfc1d

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

docs/source/_templates/page.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,26 +29,26 @@
2929
<script src="{{ pathto('_static/js/version-picker.js', 1) }}" defer></script>
3030

3131
{# Head tags inherited from Duck's HomePage #}
32-
<meta name="description" content="Duck is a powerful, open-source, full-fledged Python-based web server, framework, and reverse proxy designed for building modern, customizable web applications — from small sites to large-scale platforms." data-uid="0.0.2"/>
32+
<meta name="description" content="Full-stack Python web framework, server & reverse proxy with reactive UI" data-uid="0.0.2"/>
3333
<meta name="robots" content="index, follow" data-uid="0.0.3"/>
3434
<meta name="keywords" content="Duck Framework, Python web framework, NodeJS alternative, Django alternative, Flask alternative, Web development, Python backend, Full-stack development, Secure web apps, Scalable web applications" data-uid="0.0.4"/>
3535
<meta http-equiv="Content-Language" content="en" data-uid="0.0.5"/>
3636
<meta name="author" content="Brian Musakwa (Duck Framework)" data-uid="0.0.13"/>
37-
<meta property="og:description" content="Duck is a powerful, open-source, full-fledged Python-based web server, framework, and reverse proxy designed for building modern, customizable web applications — from small sites to large-scale platforms." data-uid="0.0.20"/>
37+
<meta property="og:description" content="Full-stack Python web framework, server & reverse proxy with reactive UI"/>
3838
<meta property="og:url" content="{{DUCK_DOCS_URL}}" data-uid="0.0.21"/>
3939
<meta property="og:image" content="{{ pathto('_static/images/og-image.png', 1) }}" data-uid="0.0.22"/>
4040
<meta property="og:type" content="website" data-uid="0.0.23"/>
4141
<meta property="og:site_name" content="Duck Framework Docs" data-uid="0.0.24"/>
4242
<meta name="twitter:card" content="summary_large_image" data-uid="0.0.25"/>
4343
<meta name="twitter:title" content="Duck Framework Documentation" data-uid="0.0.26"/>
44-
<meta name="twitter:description" content="Duck is a powerful, open-source, full-fledged Python-based web server, framework, and reverse proxy designed for building modern, customizable web applications — from small sites to large-scale platforms." data-uid="0.0.27"/>
44+
<meta name="twitter:description" content="Full-stack Python web framework, server & reverse proxy with reactive UI"/>
4545

4646
<link rel="icon" href="{{ pathto('_static/images/favicon/favicon-96x96.png', 1) }}" type="image/png" sizes="96x96" data-uid="0.0.14"/>
4747
<link rel="icon" href="{{ pathto('_static/images/favicon/favicon.svg', 1) }}" type="image/svg+xml" data-uid="0.0.15"/>
4848
<link rel="shortcut icon" href="{{ pathto('_static/images/favicon/favicon.ico', 1) }}" type="image/png" data-uid="0.0.16"/>
4949
<link rel="apple-touch-icon" href="{{ pathto('_static/images/favicon/apple-touch-icon.png', 1) }}" type="image/png" sizes="180x180" data-uid="0.0.17"/>
5050
<link rel="manifest" href="{{ pathto('_static/images/favicon/site.webmanifest', 1) }}" type="image/png" data-uid="0.0.18"/>
5151

52-
<script type="application/ld+json" data-uid="0.0.28">{"@context": "https://schema.org", "@type": "SoftwareApplication", "name": "Duck Framework", "description": "Duck is a powerful, open-source, full-fledged Python-based web server, framework, and reverse proxy designed for building modern, customizable web applications — from small sites to large-scale platforms.", "author": {"@type": "organization", "name": "Duck Framework"}, "applicationCategory": "Web Development Framework", "operatingSystem": "Cross-platform", "image": "{{ pathto('_static/images/og-image.png', 1) }}"}</script>
52+
<script type="application/ld+json" data-uid="0.0.28">{"@context": "https://schema.org", "@type": "SoftwareApplication", "name": "Duck Framework", "description": "Full-stack Python web framework, server & reverse proxy with reactive UI", "author": {"@type": "organization", "name": "Duck Framework"}, "applicationCategory": "Web Development Framework", "operatingSystem": "Cross-platform", "image": "{{ pathto('_static/images/og-image.png', 1) }}"}</script>
5353

5454
{% endblock %}

duck/html/components/navbar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def add_links(self):
126126
for link_item in links:
127127
text = link_item.get("text", "")
128128
url = link_item.get("url", "#")
129-
link = Link(url=url, text=text, props={"class": "nav-link active"})
129+
link = Link(url=url, text=text, props={"class": "nav-link active", "role": "link", "aria-label": text})
130130
link.color = "white"
131131
link.style["text-wrap"] = "nowrap"
132132
list_item = to_component(tag="li", props={'class': 'nav-item'})

0 commit comments

Comments
 (0)