parent
1ff4a7485e
commit
501af07c95
3 changed files with 7 additions and 5 deletions
|
@ -8,4 +8,4 @@ eleventyNavigation:
|
||||||
# Erste Schritte
|
# Erste Schritte
|
||||||
|
|
||||||
## Stundenpläne
|
## Stundenpläne
|
||||||
Am Mittwoch findet die Einschreibung in die Seminargruppen, und damit in einen Stundenplan, statt. Alle Infos dazu gibt es hier: [Stundenpläne](/timetables/).
|
Am Mittwoch findet die Einschreibung in die Seminargruppen, und damit in einen Stundenplan, statt. Alle Infos dazu gibt es hier: [Stundenpläne](/de/timetables/).
|
||||||
|
|
|
@ -8,4 +8,4 @@ eleventyNavigation:
|
||||||
# First Steps
|
# First Steps
|
||||||
|
|
||||||
## Timetables
|
## Timetables
|
||||||
On Wednesday, the enrollment in the seminar groups, and thus in a timetable, takes place. You can find all relevant information here: [timetables](/timetables/).
|
On Wednesday, the enrollment in the seminar groups, and thus in a timetable, takes place. You can find all relevant information here: [timetables](/en/timetables/).
|
||||||
|
|
|
@ -112,10 +112,12 @@ module.exports = function(eleventyConfig) {
|
||||||
if (href.startsWith('http')) {
|
if (href.startsWith('http')) {
|
||||||
tokens[idx].attrSet('target', '_blank');
|
tokens[idx].attrSet('target', '_blank');
|
||||||
tokens[idx].attrSet('rel', 'noreferrer');
|
tokens[idx].attrSet('rel', 'noreferrer');
|
||||||
} else {
|
|
||||||
const newHref = eleventyConfig.javascriptFunctions.locale_url(href);
|
|
||||||
tokens[idx].attrSet('href', newHref);
|
|
||||||
}
|
}
|
||||||
|
// this would be useful but it's broken
|
||||||
|
// else {
|
||||||
|
// const newHref = eleventyConfig.javascriptFunctions.locale_url(href);
|
||||||
|
// tokens[idx].attrSet('href', newHref);
|
||||||
|
// }
|
||||||
|
|
||||||
return self.renderToken(tokens, idx, options);
|
return self.renderToken(tokens, idx, options);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue