-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #115 from CoderDojoPotsdam/refactoring
refactor tutorial
- Loading branch information
Showing
3 changed files
with
67 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
--- | ||
layout: default | ||
title: 404page | ||
permalink: /404.html | ||
--- | ||
<h1>Whoops! Could not find that page.</h1> | ||
<p>Sorry this page has been renamed, please find it in the tutorial =(</p> | ||
<a href="https://coderdojopotsdam.github.io/regex-tutorial">tutorial link</a> | ||
--- | ||
layout: default | ||
title: 404page | ||
permalink: /404.html | ||
--- | ||
<h1>Whoops! Could not find that page.</h1> | ||
<p>Sorry this page has been renamed, please find it in the tutorial =(</p> | ||
<a href="https://coderdojopotsdam.github.io/regex-tutorial">tutorial link</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
function changeLanguage() { | ||
var getLanguageMenu = document.getElementById('languageMenu'); | ||
var getLanguageHref = getLanguageMenu.options[getLanguageMenu.selectedIndex].getAttribute('href'); | ||
window.location.assign(getLanguageHref); | ||
} | ||
|