diff options
author | David Mehren | 2021-03-18 21:36:24 +0100 |
---|---|---|
committer | GitHub | 2021-03-18 21:36:24 +0100 |
commit | 2ea40bb98d80ca765f60f9b69d26d5be12188231 (patch) | |
tree | 9fb03c656e80091509691b9b68bd1b21ca7f6dba /public/views/pretty.ejs | |
parent | 12937ed087e3a0620eeb469287138c1ac2afad54 (diff) | |
parent | 8e6aab0145019b40cb5517cbb66d2bbe545f0ec9 (diff) |
Merge pull request #1022 from hedgedoc/fix/translate
[1.x] Templates: Remove lang and add translation parameter
Diffstat (limited to '')
-rw-r--r-- | public/views/pretty.ejs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/public/views/pretty.ejs b/public/views/pretty.ejs index 78795211..8dc8db1a 100644 --- a/public/views/pretty.ejs +++ b/public/views/pretty.ejs @@ -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"> |