summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Sapka <michal@sapka.me>2023-01-06 23:14:49 +0100
committerMichał Sapka <michal@sapka.me>2023-01-06 23:14:49 +0100
commit8987664e3ab4dd08879c3d45ba4ba954aaec6f69 (patch)
tree5f1e7cadc94c56ed5f24349c81f7d9204b98e6e2
parent98c04aa1e19e9391a19daf903a024e7ebeaeb36b (diff)
feat: add logos
-rw-r--r--.hugo_build.lock0
-rw-r--r--assets/icons/android-chrome-192x192.pngbin0 -> 12146 bytes
-rw-r--r--assets/icons/android-chrome-512x512.pngbin0 -> 20980 bytes
-rw-r--r--assets/icons/apple-touch-icon.pngbin0 -> 10909 bytes
-rw-r--r--assets/icons/favicon-16x16.pngbin0 -> 695 bytes
-rw-r--r--assets/icons/favicon-32x32.pngbin0 -> 1836 bytes
-rw-r--r--assets/icons/favicon.icobin0 -> 15406 bytes
-rw-r--r--assets/icons/site.webmanifest1
-rw-r--r--assets/logo.pngbin0 -> 3957 bytes
-rw-r--r--config.toml11
-rw-r--r--layouts/_default/baseof.html8
-rw-r--r--layouts/_default/list.html6
-rw-r--r--resources/_gen/images/logo_hua845fe3caf56d36f9e084b214bb2f690_3957_0x45_resize_box_3.pngbin0 -> 2576 bytes
-rw-r--r--static/favicon.icobin15406 -> 15406 bytes
14 files changed, 5 insertions, 21 deletions
diff --git a/.hugo_build.lock b/.hugo_build.lock
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/.hugo_build.lock
diff --git a/assets/icons/android-chrome-192x192.png b/assets/icons/android-chrome-192x192.png
new file mode 100644
index 0000000..ea04632
--- /dev/null
+++ b/assets/icons/android-chrome-192x192.png
Binary files differ
diff --git a/assets/icons/android-chrome-512x512.png b/assets/icons/android-chrome-512x512.png
new file mode 100644
index 0000000..bdfb41e
--- /dev/null
+++ b/assets/icons/android-chrome-512x512.png
Binary files differ
diff --git a/assets/icons/apple-touch-icon.png b/assets/icons/apple-touch-icon.png
new file mode 100644
index 0000000..db8cab4
--- /dev/null
+++ b/assets/icons/apple-touch-icon.png
Binary files differ
diff --git a/assets/icons/favicon-16x16.png b/assets/icons/favicon-16x16.png
new file mode 100644
index 0000000..3bf6a45
--- /dev/null
+++ b/assets/icons/favicon-16x16.png
Binary files differ
diff --git a/assets/icons/favicon-32x32.png b/assets/icons/favicon-32x32.png
new file mode 100644
index 0000000..460bf46
--- /dev/null
+++ b/assets/icons/favicon-32x32.png
Binary files differ
diff --git a/assets/icons/favicon.ico b/assets/icons/favicon.ico
new file mode 100644
index 0000000..893aa53
--- /dev/null
+++ b/assets/icons/favicon.ico
Binary files differ
diff --git a/assets/icons/site.webmanifest b/assets/icons/site.webmanifest
new file mode 100644
index 0000000..45dc8a2
--- /dev/null
+++ b/assets/icons/site.webmanifest
@@ -0,0 +1 @@
+{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"} \ No newline at end of file
diff --git a/assets/logo.png b/assets/logo.png
new file mode 100644
index 0000000..3ff9f87
--- /dev/null
+++ b/assets/logo.png
Binary files differ
diff --git a/config.toml b/config.toml
index f4e80d6..fcc4e90 100644
--- a/config.toml
+++ b/config.toml
@@ -1,12 +1,5 @@
-baseURL = 'https://memes.sapka.me'
+baseURL = 'https://michal.sapka.me'
languageCode = 'en-us'
-title = "Michal's based meme collection"
+title = "Michal's website"
-[outputFormats.TXT]
-mediaType = "text/plain"
-sufix = "txt"
-isPlainText = true
-
-[outputs]
- home = [ "HTML", "RSS", "TXT" ]
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index b0bfc6f..280135e 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -64,14 +64,10 @@
</OL>
</ASIDE>
<div>
- Created by <a href="https://sapka.me" target="_blank">Michal</a>
+ Created by <a href="https://sapka.me" target="_blank">Michal</a>.
+ <a href="https://github.com/michalsapka/meme.sapka.me" target="_blank">Source code is available</a>.
<BR>
<BR>
- <a href="/index.xml">
- {{ $image := resources.Get "rss.png" }}
- {{ $image := $image.Resize "x25" }}
- <img alt="rss" src="{{ $image.Permalink }}" width={{$image.Width}} height={{$image.Height}}/>
- </a>
</div>
</FOOTER>
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index cc3addd..b9ddde4 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -1,12 +1,6 @@
{{ define "main" }}
{{ range where .Pages "Params.category" "meme"}}
<article class="list">
- <a href="{{ .RelPermalink }}">
- {{ $imageUrl := .Param "image" }}
- {{ $image := resources.Get $imageUrl }}
- {{ $image := $image.Resize "350x" }}
- <img alt="{{ .Param "title"}}" src="{{ $image.Permalink }}" width={{ $image.Width }} height={{ $image.Height }}/>
- </a>
</article>
{{ end }}
{{ end }}
diff --git a/resources/_gen/images/logo_hua845fe3caf56d36f9e084b214bb2f690_3957_0x45_resize_box_3.png b/resources/_gen/images/logo_hua845fe3caf56d36f9e084b214bb2f690_3957_0x45_resize_box_3.png
new file mode 100644
index 0000000..f45eadf
--- /dev/null
+++ b/resources/_gen/images/logo_hua845fe3caf56d36f9e084b214bb2f690_3957_0x45_resize_box_3.png
Binary files differ
diff --git a/static/favicon.ico b/static/favicon.ico
index 36de9d2..893aa53 100644
--- a/static/favicon.ico
+++ b/static/favicon.ico
Binary files differ