mirror of
https://github.com/actix/actix-website
synced 2025-06-28 16:00:36 +02:00
Update website
This commit is contained in:
23
layouts/code/baseof.html
Normal file
23
layouts/code/baseof.html
Normal file
@ -0,0 +1,23 @@
|
||||
{{ partial "header" . }}
|
||||
{{ $currentURL := .URL }}
|
||||
|
||||
<div class="actix-pageheader">
|
||||
<div class="container">
|
||||
<h1 class="display-4">{{ .Title }}</h1>
|
||||
{{ if .Description }}
|
||||
<p class="lead">{{ .Description }}</p>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container actix-community">
|
||||
<div class="row">
|
||||
<div class="col-md-6 offset-md-3">
|
||||
<div class="actix-content">
|
||||
{{ block "main" . }}{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{ partial "footer" . }}
|
Reference in New Issue
Block a user