Port a Gitea
This commit is contained in:
@ -2,15 +2,11 @@
|
||||
{{ .Content }}
|
||||
<div class="row center-xs middle-xs">
|
||||
{{ range .Pages }}
|
||||
<div class="col-xs-12 col-sm-12 col-md-4 col-lg-4">
|
||||
<img src="/{{ .Params.image }}" alt="Linux Party Image">
|
||||
</div>
|
||||
<div class="col-xs-12 col-sm-12 col-md-4 col-lg-4">
|
||||
<p><strong>{{ .Title }}</strong></p>
|
||||
<p>{{ .Description }}</p>
|
||||
<p>Fecha: {{ partial "time.html" . }}</p>
|
||||
<p>Lugar: {{ .Params.place }}</p>
|
||||
<a class="button" href="{{ .Permalink }}">Más info</a>
|
||||
<p>📅: {{ partial "time.html" . }}</p>
|
||||
<a class="button" href="{{ .Permalink }}">Info</a>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
@ -1,7 +1,7 @@
|
||||
<p>© 2024 Open Bokeron.</p>
|
||||
<p>
|
||||
Made with <span style="color: #e25555;">♥</span> in
|
||||
<a href="https://bitbucket.org/openbokeron/openbokeron.bitbucket.io">Bitbucket</a>
|
||||
<a href="https://openbokeron.uma.es/gitea/OpenBokeron/Web">Gitea</a>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<img class="icon" src="/assets/logo.jpg" alt="{{ .Title }} logo">
|
||||
<h1>{{ .Title }}</h1>
|
||||
<img class="icon" src="/assets/logo.jpg" alt="{{ .Site.Title }} logo">
|
||||
<h1>{{ .Site.Title }}</h1>
|
||||
<p>{{ T "motto" }}</p>
|
||||
{{ partial "nav.html" . }}
|
||||
|
@ -1,13 +0,0 @@
|
||||
{{ define "main" }}
|
||||
{{ .Content }}
|
||||
<div class="row center-xs middle-xs">
|
||||
{{- range where site.RegularPages "Type" "posts" }}
|
||||
<div class="col-xs-12 col-sm-12 col-md-4 col-lg-4">
|
||||
<p><strong>{{ .Title }}</strong></p>
|
||||
<p>{{ .Description }}</p>
|
||||
<p>Fecha: {{ partial "time.html" . }}</p>
|
||||
<a class="button" href="{{ .Permalink }}">Ver más</a>
|
||||
</div>
|
||||
{{- end }}
|
||||
</div>
|
||||
{{ end }}
|
@ -1,5 +0,0 @@
|
||||
{{ define "main" }}
|
||||
<p>📅 TODO, DATE</p>
|
||||
|
||||
{{ .Content }}
|
||||
{{ end }}
|
21
layouts/projects/list.html
Normal file
21
layouts/projects/list.html
Normal file
@ -0,0 +1,21 @@
|
||||
{{ define "main" }}
|
||||
{{ .Content }}
|
||||
<div class="row center-xs middle-xs">
|
||||
{{ range .Pages.ByDate.Reverse }}
|
||||
<div class="col-xs-12 col-sm-12 col-md-8 col-lg-8">
|
||||
<div class="row center-xs middle-xs">
|
||||
<div class="col-xs">
|
||||
<img src="/{{ .Params.image }}" alt="Event image">
|
||||
</div>
|
||||
<div class="col-xs">
|
||||
<p><strong>{{ .Title }}</strong></p>
|
||||
<p>{{ .Description }}</p>
|
||||
<p>📅: {{ partial "time.html" . }}</p>
|
||||
<p>📍: {{ .Params.place }}</p>
|
||||
<a class="button" href="{{ .Permalink }}">Info</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
11
layouts/projects/single.html
Normal file
11
layouts/projects/single.html
Normal file
@ -0,0 +1,11 @@
|
||||
{{ define "main" }}
|
||||
<p class="notice">
|
||||
{{ .Description }}
|
||||
<br />
|
||||
<br />
|
||||
📅: {{ partial "time.html" . }}
|
||||
<br />
|
||||
📍: {{ .Params.place }}
|
||||
</p>
|
||||
{{ .Content }}
|
||||
{{ end }}
|
Reference in New Issue
Block a user