Move all edits to theme
This commit is contained in:
parent
a36f14bfea
commit
e6f60f3b92
15 changed files with 2 additions and 221 deletions
|
|
@ -1,19 +0,0 @@
|
|||
{{ define "main" }}
|
||||
<content>
|
||||
{{ .Content }}
|
||||
|
||||
<h2>My most recent posts</h2>
|
||||
<ul class="blog-posts">
|
||||
{{ $max := default 3 .Site.Params.postsToShowOnIndex }}
|
||||
{{ $posts := where .Site.RegularPages "Section" "posts" }}
|
||||
{{ range first $max $posts.ByDate.Reverse }}
|
||||
<li>
|
||||
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
|
||||
<p><a href="/posts/">All posts →</a></p>
|
||||
|
||||
</content>
|
||||
{{ end }}
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
<ul>
|
||||
{{ range sort .Site.Data.presentations "date" }}
|
||||
<li><a href={{ .link }}>{{ .title }} ({{ .author }})</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
{{ $autoTheme := resources.Get "auto-theme.css" | minify }}
|
||||
<link href="{{ $autoTheme.RelPermalink }}" rel="stylesheet">
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
<div class="footer-copy">
|
||||
{{ .Site.Copyright }}
|
||||
{{ with .Site.Params.madeWith }} | {{ markdownify . }}{{ end }}
|
||||
</div>
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
<div class="mesh-wrap mesh-wrap-top" aria-hidden="true">
|
||||
<img src="/mesh.svg" alt="" class="mesh-image mesh-image-top">
|
||||
</div>
|
||||
|
||||
<a href="{{ relURL .Site.Home.RelPermalink }}" class="title"><h1>{{ .Site.Title }}</h1></a>
|
||||
<nav>{{- partial "nav.html" . -}}</nav>
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
{{ range .Site.Menus.main.ByWeight }}
|
||||
<a href="{{ .URL }}">{{ .Name }}</a>
|
||||
{{ end }}
|
||||
<a href='{{ absURL "index.xml" }}'>RSS</a>
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
{{ .Page.Store.Set "hasCodeBlock" true }}
|
||||
{{ $lang := .Get "language" | default "" }}
|
||||
{{ with .Get "title" }}
|
||||
<p><strong>{{ . }}</strong></p>
|
||||
{{ end }}
|
||||
{{ highlight (trim .Inner "\r\n") $lang "" }}
|
||||
|
|
@ -1 +0,0 @@
|
|||
<i class={{ .Get "class" }}></i>
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
<center>
|
||||
<img {{ with .Get "src" }} src="{{ . }}"{{ end }}
|
||||
{{ with .Get "width" }} width="{{ . }}"{{ end }}
|
||||
{{ with .Get "max-width" }} style=" max-width:{{ . }}" {{ end }}
|
||||
>
|
||||
</center>
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
<ul>
|
||||
{{ range .Site.Data.presentations }}
|
||||
<li>{{ .authors }} ({{ .date }}) {{ .title }}. {{ .conference }} {{ with .link }}
|
||||
<a href={{ . }}>[Link]</a>{{ end }}</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
<ul>
|
||||
{{ range .Site.Data.publications }}
|
||||
<li>{{ .authors }} ({{ .year }}). {{ .title }}. <em>{{ .journal }}</em> {{ .volume }}, {{ .pages }} {{ with .link }} <a href={{ . }}>[Link]</a>{{ end }}</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
Loading…
Add table
Add a link
Reference in a new issue