Skip to content
This repository was archived by the owner on Mar 12, 2022. It is now read-only.

Commit b80ad8d

Browse files
committed
update
1 parent 01e33d0 commit b80ad8d

2 files changed

Lines changed: 20 additions & 2 deletions

File tree

views/header.tpl

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,25 @@
44
<head>
55
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
66
<link rel="shortcut icon" href="/static/img/favicon.ico" />
7-
<meta name="author" content="Unknown"/>
7+
<meta name="author" content="Unknown" />
8+
<meta name="description" content="Go online project API documentation" />
9+
<meta name="keywords" content="Go, golang, API documentation">
10+
11+
<!-- Stylesheets -->
12+
<link href="/static/css/bootstrap.min.css" rel="stylesheet" />
13+
<link href="/static/css/todc-bootstrap.css" rel="stylesheet" />
14+
{{end}}
15+
16+
{{define "header_zh"}}
17+
<!DOCTYPE html>
18+
<html>
19+
<head>
20+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
21+
<link rel="shortcut icon" href="/static/img/favicon.ico" />
22+
<meta name="author" content="无闻" />
23+
<meta name="description" content="Go 在线项目 API 文档" />
24+
<meta name="keywords" content="Go, golang, Go语言, API文档">
25+
826
<!-- Stylesheets -->
927
<link href="/static/css/bootstrap.min.css" rel="stylesheet" />
1028
<link href="/static/css/todc-bootstrap.css" rel="stylesheet" />

views/navbar.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{{define "navbar_en"}}
22
<div id="fixed_top" class="navbar navbar-fixed-top">
33
<div class="navbar-inner">
4-
<div id="navbar">
4+
<div id="navbar" class="container">
55
<a class="brand" href="/">Go Walker</a>
66
<ul class="nav">
77
<li {{if .IsHome}}class="active"{{end}}><a href="/">Home</a></li>

0 commit comments

Comments
 (0)