first commit
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
name: LangSwitcher
|
||||
version: 1.4.0
|
||||
description: LangSwitcher is a [Grav](http://github.com/getgrav/grav) plugin that provides native language text links to switch between [multiple languages](http://learn.getgrav.org/content/multi-language) in Grav **v0.9.30** or greater.
|
||||
icon: globe
|
||||
author:
|
||||
name: Team Grav
|
||||
email: devs@getgrav.org
|
||||
url: http://getgrav.org
|
||||
homepage: https://github.com/getgrav/grav-plugin-langswitcher
|
||||
keywords: mulitlang, multilanguage, translation, switcher
|
||||
bugs: https://github.com/getgrav/grav-plugin-langswitcher/issues
|
||||
license: MIT
|
||||
|
||||
form:
|
||||
validation: strict
|
||||
fields:
|
||||
enabled:
|
||||
type: toggle
|
||||
label: Plugin status
|
||||
highlight: 1
|
||||
default: 1
|
||||
options:
|
||||
1: Enabled
|
||||
0: Disabled
|
||||
validate:
|
||||
type: bool
|
||||
|
||||
built_in_css:
|
||||
type: toggle
|
||||
label: Use built in CSS
|
||||
highlight: 1
|
||||
default: 1
|
||||
options:
|
||||
1: Enabled
|
||||
0: Disabled
|
||||
validate:
|
||||
type: bool
|
||||
|
||||
untranslated_pages_behavior:
|
||||
type: select
|
||||
label: Untranslated pages behavior
|
||||
help: Determine what to do with a language link when the current page doesn't exist in that language or it exists but it's not published.
|
||||
default: none
|
||||
options:
|
||||
none: Show language (default)
|
||||
redirect: Show language, link to home route
|
||||
hide: Hide language
|
||||
Reference in New Issue
Block a user