mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-18 17:25:16 -04:00
Merge pull request #1022 from hedgedoc/fix/translate
[1.x] Templates: Remove lang and add translation parameter
This commit is contained in:
commit
2ea40bb98d
5 changed files with 9 additions and 9 deletions
|
@ -1,11 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<%- include('hedgedoc/head') %>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<body translate="no">
|
||||
<%- include('hedgedoc/header') %>
|
||||
<%- include('hedgedoc/body') %>
|
||||
<%- include('hedgedoc/footer') %>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<!DOCTYPE html>
|
||||
|
||||
<html lang="en">
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
|
@ -37,7 +37,7 @@
|
|||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<body translate="no">
|
||||
{{{html}}}
|
||||
<div class="ui-toc dropup unselectable hidden-print" style="display:none;">
|
||||
<div class="pull-right dropdown">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<%- include('index/head') %>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="<%= lang || "en" %>">
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
|
@ -60,7 +60,7 @@
|
|||
<% } %>
|
||||
</small>
|
||||
</div>
|
||||
<div id="doc" class="container markdown-body"><%= body %></div>
|
||||
<div id="doc" class="container markdown-body" <% if (lang) { %> lang="<%= lang %>"<% } %>><%= body %></div>
|
||||
<div class="ui-toc dropup unselectable hidden-print" style="display:none;">
|
||||
<div class="pull-right dropdown">
|
||||
<a id="tocLabel" class="ui-toc-label btn btn-default" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false" title="Table of content">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
|
@ -48,7 +48,7 @@
|
|||
document.getElementsByTagName( 'head' )[0].appendChild( link );
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<body translate="no">
|
||||
<div class="container">
|
||||
<div class="reveal">
|
||||
<div class="slides"><%= body %></div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue