Skip to content

Commit 72a40b1

Browse files
committed
More SEO + logo font
1 parent f2711f0 commit 72a40b1

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

docs/_layouts/default.html

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,20 @@
1414
<meta property="og:title" content="namelint: file and directory name linter">
1515
<meta property="og:type" content="website">
1616
<meta property="og:url" content="https://www.namelint.dev/">
17+
<script type="application/ld+json">
18+
{
19+
"@context": "https://schema.org",
20+
"@type": "SoftwareApplication",
21+
"name": "namelint",
22+
"operatingSystem": "Linux, MacOS, Windows",
23+
"applicationCategory": "SecurityApplication",
24+
}
25+
</script>
1726
{%- endif %}
18-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
27+
<link rel="preconnect" href="https://fonts.googleapis.com">
28+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
29+
<link href="https://fonts.googleapis.com/css2?family=Merriweather+Sans:ital,wght@0,300..800;1,300..800&family=Tinos:ital,wght@0,400;0,700;1,400;1,700&display=swap"
30+
rel="stylesheet">
1931
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet"
2032
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous" />
2133
<script>if (window.top.location != window.location) { window.top.location.href = document.location.href; }</script>
@@ -24,9 +36,9 @@
2436
<body>
2537
<nav class="navbar navbar-expand border-bottom py-0">
2638
<div class="container">
27-
<a class="navbar-brand text-secondary fw-bold d-flex align-items-center" href="/">
39+
<a class="navbar-brand text-secondary d-flex align-items-center" style="font-family:'Merriweather Sans';" href="/">
2840
<img src="/favicon.svg" alt="Logo" height="36" class="d-inline-block align-text-top me-2 py-0">
29-
Namelint</a>
41+
namelint</a>
3042
<div class="justify-content-end align-items-center d-flex">
3143
<ul class="navbar-nav">
3244
<li class="d-none d-md-inline nav-item">

docs/schemas.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ title: JSON Schemas
44

55
These are the JSON schemas for Rules libraries and namelint configurations.
66

7-
The `.yaml` and `.json` versions are identical: we generate the `.json` from the `.yaml`
7+
<div class="alert alert-info">
8+
Note: The <code>.yaml</code> and <code>.json</code> versions are identical: we generate the <code>.json</code> from the <code>.yaml</code> at build time.
9+
</div>
810

911
{% for theFile in site.static_files -%}
1012
{% if theFile.path contains '-schema.' -%}

0 commit comments

Comments
 (0)