https://github.com/authenticator-extension/authenticator.cc
https://github.com/authenticator-extension/authenticator.cc
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/authenticator-extension/authenticator.cc
- Owner: Authenticator-Extension
- License: mit
- Created: 2018-02-20T16:08:08.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-05-21T15:34:51.000Z (almost 2 years ago)
- Last Synced: 2025-01-16T19:51:45.169Z (about 1 year ago)
- Language: HTML
- Homepage: https://authenticator.cc
- Size: 1.59 MB
- Stars: 47
- Watchers: 19
- Forks: 169
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Authenticator Extension Website [](https://crowdin.com/project/authenticator-docs)
- Increment `ver` by one when making important changes to a page
- When updating `_data/locales/sidebar/xx.yml`, make sure to sync changes between all languages
- When making a table, add `{: .table .table-striped}` on the line under the table or the table will not be formatted properly
#### Adding languages
1. Add to `_data/locales/languages.yml`
2. Make sure `_data/locales/default/xx.json` is fully translated
3. Make sure `_data/locales/sidebar/xx.yml` exists
4. Copy `index.md` and change front matter for `lang`
Note that untranslated pages should not exist. If a page is untranslated the UI will defualt to the english page (unless linked to).
#### Making alert box
```
{% include warning.html class="[alert class]" message="[your html here]" %}
```
Where `class` is one of the classes from [here](https://getbootstrap.com/docs/4.3/components/alerts/#examples). E.g. `primary`, `danger`, `warning`, etc.
#### Defualt front matter for new pages
Normal page:
```yml
---
title: [Title]
stub: [File name]
lang: en
ver: 1
---
```
Add `layout: no-sidebar` to remove sidebar, localization buttons, and edit button.