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@gitlab.io>2019-12-23 13:37:50 +0300
committerkarthik <kskarthik@gitlab.io>2019-12-23 13:37:50 +0300
commit67190e972204cc7fd1ceb1c13951975f54e9ef19 (patch)
tree914b340159bb20f1a653586a70127ea94a04e420
parent6517323df730668472d25ab6c339aee4b654b800 (diff)
add fb img, minor changes in layout
-rw-r--r--layouts/index.html10
-rw-r--r--layouts/partials/footer.html2
-rw-r--r--layouts/partials/header.html1
-rw-r--r--layouts/partials/hero.html2
-rw-r--r--static/img/no-facebook.pngbin0 -> 19456 bytes
5 files changed, 11 insertions, 4 deletions
diff --git a/layouts/index.html b/layouts/index.html
index f6ce3e7..434fa48 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -2,10 +2,10 @@
{{- partial "hero.html" . -}}
<section id="posts" class="container text-center text-monospace mt-4">
<h3>Recent Posts</h3>
- <div class="text-center">
+ <div class="container">
{{range first 5 .Site.RegularPages }}
{{if eq .Section "post"}}
- <div class="text-justified mt-3">
+ <div class="mt-3">
<h5><a href="{{.Permalink}}">{{.Title}}</a></h5>
<small>{{ .PublishDate.Format "January 2, 2006" }}</small>
</div>
@@ -13,4 +13,10 @@
{{end}}
</div>
</section>
+<section class="container text-center mt-2">
+ <a href='{{ "img/no-facebook.png" | absURL }}' target="_blank" class="href">
+ <img class="img-responsive" width="200px" src="https://stallman.org/no-facebook.png" alt="I'm Not On Faceboook">
+ </a>
+</section>
{{end}}
+
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 4ff1c0b..6307626 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}} | Powered by <a href="https://gohugo.io">Hugo</a></small>
+ <small>{{.Site.Copyright | safeHTML }} | Crafted using <a href="https://gohugo.io">Hugo</a></small>
</div>
{{ if .Site.Params.analytics }}
{{ template "_internal/google_analytics.html" . }}
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index b463f08..5e9c18c 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -3,6 +3,7 @@
<meta name="description" content='{{ .Site.Params.metadesc }}'>
<meta name="keywords" content='{{ .Site.Params.metakeys }}'>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
+ {{ hugo.Generator }}
<link rel="stylesheet" type="text/css" href='{{ "css/bootstrap.min.css" | absURL }}'>
<title>{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ .Title }}{{ end }}</title>
<nav class="navbar text-center sticky-top bg-white mt-2 mb-1">
diff --git a/layouts/partials/hero.html b/layouts/partials/hero.html
index 647f1a1..ce84760 100644
--- a/layouts/partials/hero.html
+++ b/layouts/partials/hero.html
@@ -1,6 +1,6 @@
<section class="container text-monospace mt-5">
<div class="container text-center">
- <img class="rounded-circle" src='{{ .Site.Params.img | absURL }}' width="200px"/>
+ <img class="rounded-circle" src='{{ .Site.Params.img | absURL }}' title="Icon by freepik rom www.flaticon.com" width="200px"/>
<h3 class="mt-3">{{ .Site.Title }}</h3>
<span class='text-secondary'>{{ .Site.Params.about }}</span>
<br><br>
diff --git a/static/img/no-facebook.png b/static/img/no-facebook.png
new file mode 100644
index 0000000..602e967
--- /dev/null
+++ b/static/img/no-facebook.png
Binary files differ