|
5 | 5 | <meta charset="utf-8"> |
6 | 6 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
7 | 7 | <title>{% if page.h1 %}{{page.title}}{% else %}{{page.title}} - {{site.title}}{% endif %}</title> |
8 | | - <meta name="referrer" content="unsafe-url" /> |
| 8 | + <meta name="referrer" content="unsafe-url"> |
9 | 9 | <script>if (window.top.location != window.location) { window.top.location.href = document.location.href; }</script> |
10 | 10 | {%-if page.url == '/'%} |
11 | | - <link rel="icon" type="image/svg+xml" href="/favicon.svg" /> |
12 | | - <meta property="og:description" content="Check file and directory names for security, compatibility, best practices and standards" /> |
13 | | - <meta property="og:image" content="https://www.namelint.dev/images/banner.png" /> |
14 | | - <meta property="og:title" content="namelint: file and directory name linter" /> |
15 | | - <meta property="og:type" content="website" /> |
16 | | - <meta property="og:url" content="https://www.namelint.dev/" /> |
| 11 | + <link rel="icon" type="image/svg+xml" href="/favicon.svg"> |
| 12 | + <meta property="og:description" content="Check file and directory names for security, compatibility, best practices and standards"> |
| 13 | + <meta property="og:image" content="https://www.namelint.dev/images/banner.png"> |
| 14 | + <meta property="og:title" content="namelint: file and directory name linter"> |
| 15 | + <meta property="og:type" content="website"> |
| 16 | + <meta property="og:url" content="https://www.namelint.dev/"> |
17 | 17 | {%- endif %} |
18 | 18 | <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
19 | 19 | <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" |
|
58 | 58 | <div class="container"> |
59 | 59 | <div class="row"> |
60 | 60 | <div class="col pt-2"> |
61 | | - <h1 class="pb-2 d-flex align-items-center"> |
62 | | - <div class="flex-grow-1">{% if page.h1 %}{{page.h1}}{% else %}{{page.title}}{% endif %}</div> |
63 | | - <div class="text-end"> |
64 | | - {% if page.previous.url %} |
65 | | - <a class="btn btn-outline-secondary" href="{{page.previous.url}}" title="{{page.previous.title}}">«<span |
66 | | - class="d-none d-lg-inline"> {{page.previous.title}}</span></a> |
67 | | - {% endif %} |
68 | | - {% if page.next.url %} |
69 | | - <a class="btn btn-outline-secondary" href="{{page.next.url}}" title="{{page.next.title}}"><span |
70 | | - class="d-none d-lg-inline">{{page.next.title}} </span>»</a> |
71 | | - {% endif %} |
72 | | - </div> |
| 61 | + <div class="pb-2 d-flex align-items-center justify-content-between"> |
| 62 | + <h1 class="flex-grow-1"> |
| 63 | + {% if page.h1 %}{{page.h1}}{% else %}{{page.title}}{% endif %} |
73 | 64 | </h1> |
| 65 | + <div class="text-end"> |
| 66 | + {% if page.previous.url %} |
| 67 | + <a class="btn btn-outline-secondary" href="{{page.previous.url}}" title="{{page.previous.title}}">«<span |
| 68 | + class="d-none d-lg-inline"> {{page.previous.title}}</span></a> |
| 69 | + {% endif %} |
| 70 | + {% if page.next.url %} |
| 71 | + <a class="btn btn-outline-secondary" href="{{page.next.url}}" title="{{page.next.title}}"><span |
| 72 | + class="d-none d-lg-inline">{{page.next.title}} </span>»</a> |
| 73 | + {% endif %} |
| 74 | + </div> |
| 75 | + </div> |
74 | 76 | {{content}} |
75 | 77 | {% if page.url contains "blog/"-%} |
76 | 78 | <p class="text-center"> |
|
0 commit comments