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

gitlab.com/kskarthik/monopriv.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarthik <kskarthik@disroot.org>2020-01-22 13:10:25 +0300
committerKarthik <kskarthik@disroot.org>2020-01-22 13:10:25 +0300
commit6911ef1ab394327535266b383ea7c23321d10c40 (patch)
tree4d4c1b59d92e7cc7a899ec1a6980b04c3b5c8a44
parent3861e54b726eaca4608623944e737c05bef51666 (diff)
drop monospace for post title
-rw-r--r--.gitlab-ci.yml7
-rw-r--r--layouts/_default/list.html4
-rw-r--r--layouts/_default/single.html19
-rw-r--r--layouts/index.html8
-rw-r--r--layouts/partials/footer.html2
-rw-r--r--layouts/partials/hero.html2
-rw-r--r--static/css/main.css0
-rw-r--r--static/img/paper.jpgbin0 -> 416817 bytes
8 files changed, 20 insertions, 22 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f425d04..f16ac31 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,15 +1,14 @@
image: registry.gitlab.com/pages/hugo:latest
pages:
+
script:
- apk add git
- - git clone https://github.com/gohugoio/hugoBasicExample
- - cd hugoBasicExample
+ - git clone https://github.com/gohugoio/hugoBasicExample && cd hugoBasicExample
- git submodule add -f https://gitlab.com/kskarthik/monopriv themes/monopriv
- mv themes/monopriv/exampleSite/config.toml .
- hugo -b https://kskarthik.gitlab.io/monopriv/
- - cd ..
- - mv hugoBasicExample/public .
+ - cd .. && mv hugoBasicExample/public .
artifacts:
paths:
- public
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 3c267c7..8b6ccee 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -1,5 +1,5 @@
{{define "main"}}
-<section class="container text-monospace mt-3">
+<section class="container mt-3">
<h2 class="text-center">{{.Title}}</h2>
{{if eq .Kind "taxonomyTerm"}}
{{range $key, $value := .Data.Terms.Alphabetical}}
@@ -11,7 +11,7 @@
<div class="col-md-5 m-3">
<h6><a href="{{.Permalink}}">{{ .Title }}</a></h6>
{{if eq .Section "post"}}
- <small class="text-secondary">{{.PublishDate.Format "January 2, 2006"}} | {{.ReadingTime}} minute read</small>
+ <small class="text-monospace text-secondary">{{.PublishDate.Format "January 2, 2006"}} | {{.ReadingTime}} minute read</small>
{{end}}
</div>
{{end}}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 67e30dd..3e7a36c 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,30 +1,29 @@
{{define "main"}}
-{{ if eq .Section "post"}}
- <section class="container text-monospace text-justified mt-3">
- <h2>{{.Title}}</h2>
+{{ if eq .Section "post"}}
+ <section class="container text-justified mt-3">
+ <h2 class="font-weight-bold">{{.Title}}</h2>
<small class="text-secondary mb-5">Posted on {{ .PublishDate.Format "January 2, 2006" }} | {{.ReadingTime}} minute read</small>
- <p>{{ .Content }}</p>
+ <div class="text-monospace mt-2">
+ {{ .Content }}
+ </div>
<code>tags:
{{- range .Params.tags -}}
<span class='badge badge-dark'><a class='text-white' href='{{ "tags/" | absURL }}{{ . | lower }}'>{{ . }}</a></span>
{{ end }}
</code>
- <div class="container mt-2" id="comments">
+ <br>
{{ if .Site.Params.disqus }}
{{ template "_internal/disqus.html" . }}
{{ else }}
- <small class="mt-1">Please mail your comments to <a href="{{.Site.Params.email}}">{{.Site.Params.email}}</a></small><br>
+ <small class="text-monospace mt-1">Please mail your comments to <a href="{{.Site.Params.email}}">{{.Site.Params.email}}</a></small><br>
{{end}}
- </div>
</section>
{{else}}
-
- <section class="container text-monospace text-justified mt-3">
+ <section class="container text-justified mt-3">
<h2 class="text-center mb-4">{{.Title}}</h2>
{{ .Content }}
</section>
-
{{end}}
{{end}}
diff --git a/layouts/index.html b/layouts/index.html
index 434fa48..1837ccc 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,13 +1,13 @@
{{define "main"}}
{{- partial "hero.html" . -}}
-<section id="posts" class="container text-center text-monospace mt-4">
- <h3>Recent Posts</h3>
+<section id="posts" class="container text-center mt-4">
+ <h3 class="text-monospace">Recent Posts</h3>
<div class="container">
{{range first 5 .Site.RegularPages }}
{{if eq .Section "post"}}
<div class="mt-3">
- <h5><a href="{{.Permalink}}">{{.Title}}</a></h5>
- <small>{{ .PublishDate.Format "January 2, 2006" }}</small>
+ <h6><a href="{{.Permalink}}">{{.Title}}</a></h6>
+ <small class="text-monospace">{{ .PublishDate.Format "January 2, 2006" }}</small>
</div>
{{end}}
{{end}}
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 6307626..ad609f3 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -1,6 +1,6 @@
<footer>
<div class="container-fluid bg-dark text-white text-monospace text-center mt-4">
- <small>{{.Site.Copyright | safeHTML }} | Crafted using <a href="https://gohugo.io">Hugo</a></small>
+ <small>{{.Site.Copyright | safeHTML }} | Crafted using <a class='text-warning' href="https://gohugo.io">Hugo</a></small>
</div>
{{ if .Site.Params.analytics }}
{{ template "_internal/google_analytics.html" . }}
diff --git a/layouts/partials/hero.html b/layouts/partials/hero.html
index ce84760..b6b63fc 100644
--- a/layouts/partials/hero.html
+++ b/layouts/partials/hero.html
@@ -12,4 +12,4 @@
</div>
</div>
-</section>
+</section> \ No newline at end of file
diff --git a/static/css/main.css b/static/css/main.css
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/static/css/main.css
diff --git a/static/img/paper.jpg b/static/img/paper.jpg
new file mode 100644
index 0000000..c5c2a7c
--- /dev/null
+++ b/static/img/paper.jpg
Binary files differ