mirror of
https://github.com/conventional-commits/conventionalcommits.org.git
synced 2024-11-15 10:55:16 +01:00
49 lines
2.2 KiB
HTML
49 lines
2.2 KiB
HTML
<!doctype html>
|
|
<html lang="{{ page.language | default: "en" }}" dir="{{ page.language_dir | default: "ltr" }}">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<link rel="stylesheet" href="/css/main.css">
|
|
{% if page.custom_css %}
|
|
<link rel="stylesheet" href="/css/{{ page.language }}.css">
|
|
{% endif %}
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"/>
|
|
{% seo %}
|
|
</head>
|
|
<body>
|
|
<a href="https://github.com/conventional-changelog/conventionalcommits.org"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/38ef81f8aca64bb9a64448d0d70f1308ef5341ab/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png"></a>
|
|
<ol class="nav lang" dir="ltr">
|
|
{% assign sorted_languages = site.languages | sort %}
|
|
{% for language in sorted_languages %}
|
|
<li class="language language-{{ language[0] }}">
|
|
<a rel="alternate" lang="{{ language[0] }}" hreflang="{{ language[0] }}"
|
|
href="{{ language[0] | prepend: "/lang/" }}">
|
|
{{ language[1] | smartify }} ({{ language[0] }})
|
|
</a>
|
|
</li>
|
|
{% endfor %}
|
|
</ol>
|
|
<ol class="nav">
|
|
{% assign language = page.language | default: "en" %}
|
|
{% for version in site.versions %}
|
|
{% if language == "en" %}
|
|
{% assign expected = "spec/v" | append: version | append: ".md" %}
|
|
{% else %}
|
|
{% assign expected = "lang/" | append: language | append: "/spec/v" | append: version | append: ".md" %}
|
|
{% endif %}
|
|
{% assign found = site.pages | where: "path", expected | first %}
|
|
{% if found %}
|
|
<li class="version version-{{ version }}">
|
|
<a href="{{ found.url }}">
|
|
{{ version}}
|
|
</a>
|
|
</li>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</ol>
|
|
<div id="spec">
|
|
{{ content }}
|
|
</div>
|
|
<script src="{{ site.github.url }}/js/anchorli.js"></script>
|
|
</body>
|
|
</html>
|