зеркало из https://github.com/golang/pkgsite.git
content: update header content for directory view
Change-Id: I2d20356f9ed31908819a3443be183ebb1ddff38e Reviewed-on: https://team-review.git.corp.google.com/c/golang/discovery/+/538189 Reviewed-by: Robert Findley <rfindley@google.com>
This commit is contained in:
Родитель
847055261f
Коммит
b8b84e6c94
|
@ -7,12 +7,13 @@
|
|||
{{define "main_content"}}
|
||||
<div class="Container">
|
||||
<header class="Directory-header">
|
||||
<h1>Packages in “{{.Directory}}”</h1>
|
||||
<h1 class="Header-title">Directory {{.Directory}}</h1>
|
||||
<p class="InfoLabel">
|
||||
<strong class="InfoLabel-title">Version:</strong> {{.Version}}
|
||||
</p>
|
||||
</header>
|
||||
<div class="Content">
|
||||
<h2>Packages in this directory</h2>
|
||||
<div class="Directory-list">
|
||||
{{range .Packages}}
|
||||
<p>
|
||||
|
|
Загрузка…
Ссылка в новой задаче