citra-web/site/themes/citra-bs-theme/layouts/_default/header.html
Weiyi Wang 2ff764f331 PR #45 rebased (#46)
* Initial checkin of refactoring gulp / scss

* Updated gitignore.

* Removing build directory.

* Updated package.json, removed downloads script.

* Removed assets_backup. Added back travis. Added back github pages dependency. Changed assets to src.

* Updated javascript rendering.

* Removing citra-theme button overrides in favor of scss.

* Refactored hyperlinks underline color

* Replacing manual string concat with backtick.
2017-08-30 02:16:03 +00:00

21 lines
721 B
HTML

<a href="{{ .Permalink }}">
<div class="entry-embed-outer">
<div class="entry-embed" style="background: url('{{ .Site.BaseURL }}/images/banners/{{ .Params.Banner | default (print .File.BaseFileName ".png") }}')">
<header>
<h1>{{ .Title }}</h1>
</header>
</div>
{{/* Each entry-meta is 40 + 5 padding in height. */}}
<div class="entry-meta" style="position: absolute; top: 5px; right: 20px;">
{{ .Date.Format "January 02 2006" }}
</div>
{{ range .Params.tags }}
<div class="entry-meta" style="position: absolute; top: 45px; right: 20px;">
{{ . }}
</div>
{{ end }}
</div>
</a>