webgen logo

webgen / static website generator

static website generation made easy!

Latest news

2007-12-31: Minor release with feature enhancements. More...

2007-09-08: Small bug fix release. More...

2007-06-29: Some bug fixes and one small feature enhancement. More...

Links

Generated by webgen

General Information

Plugin name:Tag/Langbar (Tag/Default)
Author:Thomas Leitner <t_leitner@gmx.at>
Summary:Provides links to translations of the page
Parameters:

separator: " | "
Separates the languages from each other.

showOwnLang: true
Should the link to the currently displayed language page be shown?

showSingleLang: true
Should the link be shown although the page is only available in one language?

Handled tags:langbar

Description

This tag is used to display a list of languages for a page. Take a look at the header. There you will find a link titled ‘en’. This is the link to the english (=en) version of this page.

Examples

This page is available in several other languages (however, with nearly no content smiley :-)) for demonstration purposes.

UsageOutput
{langbar: } de | en | fr
{langbar: {separator: Hallo}} deHalloenHallofr
{langbar: {showSingleLang: false}} de | en | fr
{langbar: {showOwnLang: false}} de | fr