Archived
1
0

more template internationalization

This commit is contained in:
Jeff Becker 2017-10-17 08:24:53 -04:00
parent 5834df6cf2
commit 2740229d6b
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05
4 changed files with 6 additions and 10 deletions

View File

@ -11,8 +11,7 @@
- Navbar ( a function that renders the navbar, should not be escaped )
- Threads ( a list of Thread Models with the last few replies )
}}
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="{{i18n.Name}}" xml:lang="{{i18n.Name}}" prefix="og: http://ogp.me/ns# fb: https://www.facebook.com/2008/fbml">
<head>
<title>{{board.Board}}</title>

View File

@ -5,8 +5,7 @@
- frontend ( the name of the frontend )
- prefix ( the site's prefix )
}}
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="{{i18n.Name}}" xml:lang="{{i18n.Name}}" prefix="og: http://ogp.me/ns# fb: https://www.facebook.com/2008/fbml">
<head>
<meta lang="{{i18n.Name}}">

View File

@ -8,9 +8,7 @@
- frontend ( the name of the frontend )
- prefix ( the site's prefix )
}}
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="{{i18n.Name}}" xml:lang="{{i18n.Name}}" prefix="og: http://ogp.me/ns# fb: https://www.facebook.com/2008/fbml">
<head>
<meta lang="{{i18n.Name}}" />
@ -28,7 +26,7 @@
</head>
<body>
<center>
<a href="{{prefix}}o/"><img id="logo" src="{{prefix}}static/changolia-logo.png" /><h1>Enter</h1></a>
<a href="{{prefix}}o/?lang={{i18n.Name}}"><img id="logo" src="{{prefix}}static/changolia-logo.png" /><h1>Enter</h1></a>
<a href="{{prefix}}boards.html"><h2>Board List</h2></a>
<a href="{{prefix}}static/faq.html">FAQ</a>
</center>

View File

@ -10,8 +10,8 @@
- Board , the name of the Board this thread is on
- BoardURL , the url that points to the board index page
}}
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="{{i18n.Name}}" xml:lang="{{i18n.Name}}" prefix="og: http://ogp.me/ns# fb: https://www.facebook.com/2008/fbml">
<head>
<title>{{board.Board}}</title>