Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-12-01 22:36:10 +01:00

Update templates/base/head.tmpl

Co-authored-by: delvh <dev.lh@web.de>
This commit is contained in:
wxiaoguang 2021-10-14 09:15:33 +08:00 committed by GitHub
parent ec69e6d2ca
commit 01ae9d7868
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,6 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="{{.Lang}}" class="theme-{{.SignedUser.Theme}}"> <html lang="{{.Lang}}" class="theme-{{.SignedUser.Theme}}">
<head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{if .Title}}{{.Title | RenderEmojiPlain}} - {{end}} {{if .Repository.Name}}{{.Repository.Name}} - {{end}}{{AppName}} </title> <title>{{if .Title}}{{.Title | RenderEmojiPlain}} - {{end}} {{if .Repository.Name}}{{.Repository.Name}} - {{end}}{{AppName}} </title>