Skip to content

Commit

Permalink
use keys in titles
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewMerrill committed May 5, 2019
1 parent 804ee62 commit daacccc
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 7 deletions.
Binary file removed src/_layouts/.default.html.swp
Binary file not shown.
2 changes: 1 addition & 1 deletion src/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta charset="utf-8" content="application/javascript">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>{{site.title}} | {{page.title}}</title>
<title>{{site.title}} | {% if page.titlekey %}{%include translate.html key=page.titlekey%}{%else%}{{page.title}}{%endif%}</title>
<link rel="stylesheet" href="{{base}}/css/base.css"></link>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion src/about/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: default
title: About
titlekey: about.title
---
<link rel="stylesheet" href="./about.css">
<h1>{% include translate.html key="about.title" %}</h1>
Expand Down
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: default
title: Home
titlekey: home.title
---
<link rel="stylesheet" href="{{base}}./css/home.css">
<div id="main-menu">
Expand Down
2 changes: 1 addition & 1 deletion src/oneMean/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: default
title: One Means
titlekey: oneMean.title
---

<link rel="stylesheet" href="{{base}}./oneMean.css">
Expand Down
2 changes: 1 addition & 1 deletion src/oneProportion/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: default
title: One Proportion
titlekey: oneProportion.title
---

<link rel="stylesheet" href="{{base}}./oneProportion.css">
Expand Down
2 changes: 1 addition & 1 deletion src/twoMean/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: default
title: Two Means
titlekey: twoMean.title
---
<link rel="stylesheet" href="{{base}}./twoMean.css">
<div id="two-mean">
Expand Down
2 changes: 1 addition & 1 deletion src/twoProportions/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: default
title: Two Proportions
titlekey: twoProportions.title
---

<link rel="stylesheet" href="{{base}}./twoProportions.css">
Expand Down

0 comments on commit daacccc

Please sign in to comment.