Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/darshanbaral/ghazal.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/footer.html2
-rw-r--r--layouts/section/about.html43
-rw-r--r--layouts/section/archive.html3
3 files changed, 27 insertions, 21 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index ad30004..44bd518 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -100,7 +100,7 @@
"
>
<h3>Recent</h3>
- <ol style="padding-left: 0.75em;">
+ <ol style="padding-left: 1em;">
{{ range ((where .Site.Pages "Kind" "page").ByDate.Reverse) | first 5 }}
<li>
<a href="{{ .Permalink }}">{{ .Title | truncate 25 }}</a>
diff --git a/layouts/section/about.html b/layouts/section/about.html
index 1b0c414..8c60c1e 100644
--- a/layouts/section/about.html
+++ b/layouts/section/about.html
@@ -1,5 +1,4 @@
-{{ define "main" }}
-{{ partial "social" . }}
+{{ define "main" }} {{ partial "social" . }}
<img
src="{{ .Params.profileImage }}"
alt="profile image of {{ .Site.Params.author }}"
@@ -11,21 +10,29 @@
"
/>
-<div
- style="
- display: flex;
- justify-content: center;
- flex-direction: column;
- border-bottom: solid 3px;
- "
->
- <h1 style="margin: 1em 0 0.15em 0;">
- {{ .Params.prefix }} {{ .Params.name }}, {{ .Params.suffix }}
- </h1>
- <h2 style="margin: 0.15em 0;">{{ .Params.jobTitle }}</h2>
- <h3 style="margin: 0.15em 0;">{{ .Params.office }}, {{ .Params.location }}</h3>
+<div style="margin-bottom: 3em;">
+ <div
+ style="
+ display: flex;
+ justify-content: center;
+ flex-direction: column;
+ border-bottom: solid 3px;
+ "
+ >
+ <h1 style="margin: 1em 0 0.15em 0;">
+ {{ .Params.prefix }} {{ .Params.name }}, {{ .Params.suffix }}
+ </h1>
+ <h2 style="margin: 0.15em 0;">{{ .Params.jobTitle }}</h2>
+ <h3 style="margin: 0.15em 0;">
+ {{ .Params.office }}, {{ .Params.location }}
+ </h3>
+ </div>
+ {{ .Content }}
+</div>
+<div style="margin-bottom: 3em;">
+ {{ partial "about/education" . }}
+</div>
+<div>
+ {{ partial "about/publications" . }}
</div>
-{{ .Content }}
-{{ partial "about/education" . }}
-{{ partial "about/publications" . }}
{{ end }}
diff --git a/layouts/section/archive.html b/layouts/section/archive.html
index 9c64820..0c3976e 100644
--- a/layouts/section/archive.html
+++ b/layouts/section/archive.html
@@ -1,7 +1,7 @@
{{ define "main" }}
<h1 style="margin: 0 0 0.5em 0;">{{ .Title }}</h1>
{{$paginator := .Paginate (where .Site.Pages "Kind" "page").ByDate.Reverse 50 }}
-<table style="width: 100%;">
+<table>
<thead>
<tr>
<th>Date</th>
@@ -21,5 +21,4 @@
{{ end }}
</tbody>
</table>
-
{{ end }}