From d466219b257b0b1e686a1134f5b47acd2f71aa2f Mon Sep 17 00:00:00 2001 From: log101 Date: Mon, 4 Dec 2023 03:43:34 +0000 Subject: [PATCH] feat: switch to hugo --- .devcontainer/devcontainer.json | 22 +++++ .gitmodules | 3 + archetypes/default.md | 6 ++ assets/scss/style.scss | 10 +++ config.toml | 61 ++++++++++++++ .../bokudakeresim.jpg | Bin conway.html => eski_postlar/conway.html | 0 footer.html => eski_postlar/footer.html | 0 .../furkan-erdem-cv-ege.pdf | Bin hishiro.jpg => eski_postlar/hishiro.jpg | Bin .../im22andfailed.html | 0 index.html => eski_postlar/index.html | 0 journey.jpg => eski_postlar/journey.jpg | Bin karar.html => eski_postlar/karar.html | 0 .../ramazan2021.html | 0 relife.html => eski_postlar/relife.html | 0 .../resimler}/fighton2.mp4 | Bin {resimler => eski_postlar/resimler}/japon.jpg | Bin .../resimler}/relife.png | Bin .../resimler}/relife1.png | Bin .../resimler}/relife2.png | Bin .../resimler}/relife3.png | Bin .../resimler}/relife4.png | Bin .../resimler}/relife5.png | Bin .../resimler}/relife6.png | Bin .../resimler}/spiral.jpg | Bin .../yoklugumdakisehir.html | 0 layouts/404.html | 15 ++++ layouts/_default/baseof.html | 50 +++++++++++ layouts/_default/list.html | 33 ++++++++ layouts/_default/single.html | 34 ++++++++ layouts/index.html | 37 ++++++++ layouts/partials/analytics.html | 1 + layouts/partials/comments.html | 3 + layouts/partials/favicons.html | 6 ++ layouts/partials/footer.html | 7 ++ layouts/partials/header.html | 31 +++++++ layouts/partials/menu.html | 12 +++ layouts/partials/related-posts.html | 11 +++ layouts/partials/social-icons.html | 3 + layouts/partials/structured-data.html | 6 ++ layouts/partials/svg.html | 47 +++++++++++ layouts/posts/rss.xml | 27 ++++++ layouts/posts/single.html | 77 +++++++++++++++++ public/404.html | 54 ++++++++++++ public/android-chrome-192x192.png | Bin 0 -> 2100 bytes public/android-chrome-384x384.png | Bin 0 -> 5397 bytes public/apple-touch-icon.png | Bin 0 -> 1975 bytes public/browserconfig.xml | 9 ++ ...32f46f94cc9340fcd0db09005e5be27f1f404a.css | 1 + public/favicon-16x16.png | Bin 0 -> 401 bytes public/favicon-32x32.png | Bin 0 -> 526 bytes public/favicon.ico | Bin 0 -> 6318 bytes public/index.html | 64 ++++++++++++++ public/index.xml | 10 +++ ...1e6c2a71de1d70492264337755427898dd718f6.js | 13 +++ public/mstile-150x150.png | Bin 0 -> 1464 bytes public/safari-pinned-tab.svg | 1 + public/site.webmanifest | 19 +++++ public/sitemap.xml | 13 +++ public/tags/index.html | 79 ++++++++++++++++++ public/tags/index.xml | 10 +++ ...s_c16d144eee185fbddd582cd5e25a4fae.content | 1 + ...scss_c16d144eee185fbddd582cd5e25a4fae.json | 1 + themes/hermit | 1 + 65 files changed, 778 insertions(+) create mode 100644 .devcontainer/devcontainer.json create mode 100644 .gitmodules create mode 100644 archetypes/default.md create mode 100644 assets/scss/style.scss create mode 100644 config.toml rename bokudakeresim.jpg => eski_postlar/bokudakeresim.jpg (100%) rename conway.html => eski_postlar/conway.html (100%) rename footer.html => eski_postlar/footer.html (100%) rename furkan-erdem-cv-ege.pdf => eski_postlar/furkan-erdem-cv-ege.pdf (100%) rename hishiro.jpg => eski_postlar/hishiro.jpg (100%) rename im22andfailed.html => eski_postlar/im22andfailed.html (100%) rename index.html => eski_postlar/index.html (100%) rename journey.jpg => eski_postlar/journey.jpg (100%) rename karar.html => eski_postlar/karar.html (100%) rename ramazan2021.html => eski_postlar/ramazan2021.html (100%) rename relife.html => eski_postlar/relife.html (100%) rename {resimler => eski_postlar/resimler}/fighton2.mp4 (100%) rename {resimler => eski_postlar/resimler}/japon.jpg (100%) rename {resimler => eski_postlar/resimler}/relife.png (100%) rename {resimler => eski_postlar/resimler}/relife1.png (100%) rename {resimler => eski_postlar/resimler}/relife2.png (100%) rename {resimler => eski_postlar/resimler}/relife3.png (100%) rename {resimler => eski_postlar/resimler}/relife4.png (100%) rename {resimler => eski_postlar/resimler}/relife5.png (100%) rename {resimler => eski_postlar/resimler}/relife6.png (100%) rename {resimler => eski_postlar/resimler}/spiral.jpg (100%) rename yoklugumdakisehir.html => eski_postlar/yoklugumdakisehir.html (100%) create mode 100644 layouts/404.html create mode 100644 layouts/_default/baseof.html create mode 100644 layouts/_default/list.html create mode 100644 layouts/_default/single.html create mode 100644 layouts/index.html create mode 100644 layouts/partials/analytics.html create mode 100644 layouts/partials/comments.html create mode 100644 layouts/partials/favicons.html create mode 100644 layouts/partials/footer.html create mode 100644 layouts/partials/header.html create mode 100644 layouts/partials/menu.html create mode 100644 layouts/partials/related-posts.html create mode 100644 layouts/partials/social-icons.html create mode 100644 layouts/partials/structured-data.html create mode 100644 layouts/partials/svg.html create mode 100644 layouts/posts/rss.xml create mode 100644 layouts/posts/single.html create mode 100644 public/404.html create mode 100644 public/android-chrome-192x192.png create mode 100644 public/android-chrome-384x384.png create mode 100644 public/apple-touch-icon.png create mode 100644 public/browserconfig.xml create mode 100644 public/css/style.min.e609a74a3408dd22bcf5c1ccee32f46f94cc9340fcd0db09005e5be27f1f404a.css create mode 100644 public/favicon-16x16.png create mode 100644 public/favicon-32x32.png create mode 100644 public/favicon.ico create mode 100644 public/index.html create mode 100644 public/index.xml create mode 100644 public/js/bundle.min.4a9a0ac3d2217822c7865b4161e6c2a71de1d70492264337755427898dd718f6.js create mode 100644 public/mstile-150x150.png create mode 100644 public/safari-pinned-tab.svg create mode 100644 public/site.webmanifest create mode 100644 public/sitemap.xml create mode 100644 public/tags/index.html create mode 100644 public/tags/index.xml create mode 100644 resources/_gen/assets/scss/scss/style.scss_c16d144eee185fbddd582cd5e25a4fae.content create mode 100644 resources/_gen/assets/scss/scss/style.scss_c16d144eee185fbddd582cd5e25a4fae.json create mode 160000 themes/hermit diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..893a422 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,22 @@ +// For format details, see https://aka.ms/devcontainer.json. For config options, see the +// README at: https://github.com/devcontainers/templates/tree/main/src/go +{ + "name": "Go", + // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile + "image": "mcr.microsoft.com/devcontainers/go:1-1.21-bullseye" + + // Features to add to the dev container. More info: https://containers.dev/features. + // "features": {}, + + // Use 'forwardPorts' to make a list of ports inside the container available locally. + // "forwardPorts": [], + + // Use 'postCreateCommand' to run commands after the container is created. + // "postCreateCommand": "go version", + + // Configure tool-specific properties. + // "customizations": {}, + + // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. + // "remoteUser": "root" +} diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..ff46467 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/hermit"] + path = themes/hermit + url = https://github.com/Track3/hermit.git diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..00e77bd --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,6 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +--- + diff --git a/assets/scss/style.scss b/assets/scss/style.scss new file mode 100644 index 0000000..ba8ada2 --- /dev/null +++ b/assets/scss/style.scss @@ -0,0 +1,10 @@ +#spotlight { + display: flex; + min-height: 100vh; + flex-direction: column; + align-items: center; + justify-content: center; + max-width: 400px; + margin: auto; + font-size: 1.5rem; +} diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..40689ed --- /dev/null +++ b/config.toml @@ -0,0 +1,61 @@ +baseURL = "https://log101.github.io" +languageCode = "en-us" +defaultContentLanguage = "en" +title = "log101" +theme = "hermit" +# enableGitInfo = true +pygmentsCodefences = true +pygmentsUseClasses = true + +rssLimit = 10 # Maximum number of items in the RSS feed. +enableEmoji = true # Shorthand emojis in content files - https://gohugo.io/functions/emojify/ + +[author] + name = "Furkan Erdem" + +[taxonomies] + tag = "tags" + +[params] + dateform = "Jan 2, 2006" + dateformShort = "Jan 2" + dateformNum = "2006-01-02" + dateformNumTime = "2006-01-02 15:04 -0700" + + # Metadata mostly used in document's head + description = "log101's blog" + themeColor = "#494f5c" + + homeSubtitle = "\"Orada, soğuk ve mütemadiyen dönen yaşlı başlı yıldızlar, önce israillenmiş sonra pislik içinde bırakılmış gezegenler, Kadimler mirası kuyruklu gök cisimleri vardı; birbirlerinden bağımız görünseler de modellenmesi neredeyse imkansız bir örgü içerisinde…\"" + + # Toggling this option needs to rebuild SCSS, requires Hugo extended version + justifyContent = false # Set "text-align: justify" to `.content`. + + relatedPosts = false # Add a related content section to all single posts page + + code_copy_button = true # Turn on/off the code-copy-button for code-fields + + # Add custom css + # customCSS = ["css/foo.css", "css/bar.css"] + + # Social Icons + # Check https://github.com/Track3/hermit#social-icons for more info. + [[params.social]] + name = "github" + url = "https://github.com/" + + [[params.social]] + name = "linkedin" + url = "https://www.linkedin.com/in/furkan-erdem-506548218" + +[menu] + + [[menu.main]] + name = "Posts" + url = "posts/" + weight = 10 + + [[menu.main]] + name = "About" + url = "about-hugo/" + weight = 20 diff --git a/bokudakeresim.jpg b/eski_postlar/bokudakeresim.jpg similarity index 100% rename from bokudakeresim.jpg rename to eski_postlar/bokudakeresim.jpg diff --git a/conway.html b/eski_postlar/conway.html similarity index 100% rename from conway.html rename to eski_postlar/conway.html diff --git a/footer.html b/eski_postlar/footer.html similarity index 100% rename from footer.html rename to eski_postlar/footer.html diff --git a/furkan-erdem-cv-ege.pdf b/eski_postlar/furkan-erdem-cv-ege.pdf similarity index 100% rename from furkan-erdem-cv-ege.pdf rename to eski_postlar/furkan-erdem-cv-ege.pdf diff --git a/hishiro.jpg b/eski_postlar/hishiro.jpg similarity index 100% rename from hishiro.jpg rename to eski_postlar/hishiro.jpg diff --git a/im22andfailed.html b/eski_postlar/im22andfailed.html similarity index 100% rename from im22andfailed.html rename to eski_postlar/im22andfailed.html diff --git a/index.html b/eski_postlar/index.html similarity index 100% rename from index.html rename to eski_postlar/index.html diff --git a/journey.jpg b/eski_postlar/journey.jpg similarity index 100% rename from journey.jpg rename to eski_postlar/journey.jpg diff --git a/karar.html b/eski_postlar/karar.html similarity index 100% rename from karar.html rename to eski_postlar/karar.html diff --git a/ramazan2021.html b/eski_postlar/ramazan2021.html similarity index 100% rename from ramazan2021.html rename to eski_postlar/ramazan2021.html diff --git a/relife.html b/eski_postlar/relife.html similarity index 100% rename from relife.html rename to eski_postlar/relife.html diff --git a/resimler/fighton2.mp4 b/eski_postlar/resimler/fighton2.mp4 similarity index 100% rename from resimler/fighton2.mp4 rename to eski_postlar/resimler/fighton2.mp4 diff --git a/resimler/japon.jpg b/eski_postlar/resimler/japon.jpg similarity index 100% rename from resimler/japon.jpg rename to eski_postlar/resimler/japon.jpg diff --git a/resimler/relife.png b/eski_postlar/resimler/relife.png similarity index 100% rename from resimler/relife.png rename to eski_postlar/resimler/relife.png diff --git a/resimler/relife1.png b/eski_postlar/resimler/relife1.png similarity index 100% rename from resimler/relife1.png rename to eski_postlar/resimler/relife1.png diff --git a/resimler/relife2.png b/eski_postlar/resimler/relife2.png similarity index 100% rename from resimler/relife2.png rename to eski_postlar/resimler/relife2.png diff --git a/resimler/relife3.png b/eski_postlar/resimler/relife3.png similarity index 100% rename from resimler/relife3.png rename to eski_postlar/resimler/relife3.png diff --git a/resimler/relife4.png b/eski_postlar/resimler/relife4.png similarity index 100% rename from resimler/relife4.png rename to eski_postlar/resimler/relife4.png diff --git a/resimler/relife5.png b/eski_postlar/resimler/relife5.png similarity index 100% rename from resimler/relife5.png rename to eski_postlar/resimler/relife5.png diff --git a/resimler/relife6.png b/eski_postlar/resimler/relife6.png similarity index 100% rename from resimler/relife6.png rename to eski_postlar/resimler/relife6.png diff --git a/resimler/spiral.jpg b/eski_postlar/resimler/spiral.jpg similarity index 100% rename from resimler/spiral.jpg rename to eski_postlar/resimler/spiral.jpg diff --git a/yoklugumdakisehir.html b/eski_postlar/yoklugumdakisehir.html similarity index 100% rename from yoklugumdakisehir.html rename to eski_postlar/yoklugumdakisehir.html diff --git a/layouts/404.html b/layouts/404.html new file mode 100644 index 0000000..38a201d --- /dev/null +++ b/layouts/404.html @@ -0,0 +1,15 @@ +{{ define "main" }} +
+

+ 404-lighthouse +

+ +
+{{ end }} diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..7f09c90 --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,50 @@ + + + + + + + + {{- with .Site.Params.themeColor }} + + + {{- end }} + {{- partial "structured-data.html" . }} + {{- partial "favicons.html" }} + {{.Title}} + {{ range .AlternativeOutputFormats -}} + {{ printf `` .Rel .MediaType.Type .Permalink $.Title | safeHTML }} + {{ end -}} + {{ $style := resources.Get "scss/style.scss" | resources.ExecuteAsTemplate "css/style.css" . | toCSS | minify | fingerprint -}} + + {{- block "head" . -}}{{- end }} + {{- range .Site.Params.customCSS }} + + {{- end }} + {{- if templates.Exists "partials/extra-head.html" -}} + {{ partial "extra-head.html" . }} + {{- end }} + + + + {{ block "header" . -}}{{ end -}} + {{ block "main" . -}}{{ end -}} + {{ block "footer" . -}}{{ end }} + + {{ $main := resources.Get "js/main.js" -}} + {{ if .Site.Params.code_copy_button | default true -}} + {{ $codeCopy := resources.Get "js/code-copy.js" -}} + {{ $script := slice $main $codeCopy | resources.Concat "js/bundle.js" | minify | fingerprint -}} + + {{ else -}} + {{ $script := $main | minify | fingerprint -}} + + {{ end }} + + {{- partial "analytics.html" . }} + {{- if templates.Exists "partials/extra-foot.html" -}} + {{ partial "extra-foot.html" . }} + {{- end }} + + + diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..dc525d6 --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,33 @@ +{{ define "header" }} +{{ partialCached "header.html" . }} +{{ end }} + +{{ define "main" }} +
+

{{ .Title }}

+ {{- if .Content }} +
+ {{ .Content }} +
+ {{- end }} + {{- range .Data.Pages.GroupByDate "2006" }} +
+
{{ .Key }}
+ +
+ {{- end }} +
+{{ end }} + +{{ define "footer" }} +{{ partialCached "footer.html" . }} +{{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..9ba7177 --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,34 @@ +{{ define "head" }} + {{ if .Params.featuredImg -}} + + {{- else if .Params.images -}} + {{- range first 1 .Params.images -}} + + {{- end -}} + {{- end -}} +{{ end }} + +{{ define "header" }} +{{ partial "header.html" . }} +{{ end }} + +{{ define "main" }} + {{- if (or .Params.images .Params.featuredImg) }} +
+ {{- end }} +
+

{{ .Title }}

+
+ {{ .Content | replaceRE "()" `${1}${3}` | safeHTML }} +
+ {{- if .Params.comments }} +
+ {{ partial "comments.html" . }} +
+ {{- end }} +
+{{ end }} + +{{ define "footer" }} +{{ partialCached "footer.html" . }} +{{ end }} diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..3f31d25 --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,37 @@ +{{ define "head" }} + {{ if .Site.Params.bgImg -}} + + {{- else if .Site.Params.images -}} + {{- range first 1 .Site.Params.images -}} + + {{- end -}} + {{- end -}} +{{ end }} + +{{ define "main" }} + {{- if (or .Site.Params.images .Site.Params.bgImg) }} +
+ {{- end }} +
+
+

{{ .Site.Title }}

+ {{- with .Site.Params.homeSubtitle }} +

{{.}}

+ {{- end }} + {{- with .Site.Params.social }} +
+ {{ partialCached "social-icons.html" . }} +
+ {{- end }} + +
+ +
+{{ end }} diff --git a/layouts/partials/analytics.html b/layouts/partials/analytics.html new file mode 100644 index 0000000..b1f9af8 --- /dev/null +++ b/layouts/partials/analytics.html @@ -0,0 +1 @@ +{{ template "_internal/google_analytics_async.html" . }} diff --git a/layouts/partials/comments.html b/layouts/partials/comments.html new file mode 100644 index 0000000..b17632a --- /dev/null +++ b/layouts/partials/comments.html @@ -0,0 +1,3 @@ +{{- if .Site.DisqusShortname }} +{{ template "_internal/disqus.html" . }} +{{- end }} diff --git a/layouts/partials/favicons.html b/layouts/partials/favicons.html new file mode 100644 index 0000000..27f5226 --- /dev/null +++ b/layouts/partials/favicons.html @@ -0,0 +1,6 @@ + + + + + + diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..2aa24c2 --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,7 @@ + diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..473f597 --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,31 @@ + +
+ +
diff --git a/layouts/partials/menu.html b/layouts/partials/menu.html new file mode 100644 index 0000000..9abe793 --- /dev/null +++ b/layouts/partials/menu.html @@ -0,0 +1,12 @@ + {{- range .Site.Menus.main }} + {{- if .HasChildren }} + {{ .Name }} + + {{- range .Children }} + {{ .Name }} + {{- end }} + + {{- else }} + {{ .Name }} + {{- end }} + {{- end }} diff --git a/layouts/partials/related-posts.html b/layouts/partials/related-posts.html new file mode 100644 index 0000000..d533bfd --- /dev/null +++ b/layouts/partials/related-posts.html @@ -0,0 +1,11 @@ +{{- $related := .Site.RegularPages.Related . | first 5 }} +{{ with $related }} + +{{ end -}} diff --git a/layouts/partials/social-icons.html b/layouts/partials/social-icons.html new file mode 100644 index 0000000..b89f265 --- /dev/null +++ b/layouts/partials/social-icons.html @@ -0,0 +1,3 @@ +{{ range . -}} +{{ partial "svg.html" . }} +{{- end -}} diff --git a/layouts/partials/structured-data.html b/layouts/partials/structured-data.html new file mode 100644 index 0000000..4bfb909 --- /dev/null +++ b/layouts/partials/structured-data.html @@ -0,0 +1,6 @@ +{{/* We use some Hugo built-in templates, you can find their source here: */}} +{{/* https://github.com/gohugoio/hugo/tree/master/tpl/tplimpl/embedded/templates */}} + +{{- template "_internal/schema.html" . }} +{{- template "_internal/opengraph.html" . }} +{{- template "_internal/twitter_cards.html" . }} diff --git a/layouts/partials/svg.html b/layouts/partials/svg.html new file mode 100644 index 0000000..adc8f87 --- /dev/null +++ b/layouts/partials/svg.html @@ -0,0 +1,47 @@ +{{- if (eq .name "codepen") -}} + +{{- else if (eq .name "facebook") -}} + +{{- else if (eq .name "github") -}} + +{{- else if (eq .name "gitlab") -}} + +{{- else if (eq .name "instagram") -}} + +{{- else if (eq .name "linkedin") -}} + +{{- else if (eq .name "slack") -}} + +{{- else if (eq .name "stackoverflow") -}} + +{{- else if (eq .name "telegram") -}} + +{{- else if (eq .name "twitch") -}} + +{{- else if (eq .name "twitter") -}} + +{{- else if (eq .name "youtube") -}} + +{{- else if (eq .name "email") -}} + +{{- else if (eq .name "dribbble") -}} + +{{- else if (eq .name "behance") -}} + +{{- else if (eq .name "freepik") -}} + +{{- else if (eq .name "adobestock") -}} + +{{- else if (eq .name "shutterstock") -}} + +{{- else if (eq .name "123rf") -}} + +{{- else if (eq .name "dreamstime") -}} + +{{- else if (eq .name "paypal") -}} + +{{- else if (eq .name "qq") -}} + +{{- else -}} + +{{- end -}} diff --git a/layouts/posts/rss.xml b/layouts/posts/rss.xml new file mode 100644 index 0000000..8db9f49 --- /dev/null +++ b/layouts/posts/rss.xml @@ -0,0 +1,27 @@ + + + {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }} + {{ .Permalink }} + Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }} + Hugo -- gohugo.io{{ with .Site.LanguageCode }} + {{.}}{{end}}{{ with .Site.Author.email }} + {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Author.email }} + {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Copyright }} + {{.}}{{end}}{{ if not .Date.IsZero }} + {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}{{ end }} + {{ with .OutputFormats.Get "RSS" -}} + {{ printf "" .Permalink .MediaType | safeHTML }} + {{ end -}} + {{ range .Pages }} + + {{ .Title }} + {{ .Permalink }} + {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} + {{ with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}} + {{ .Permalink }} + {{ .Summary | html }} + {{ printf `` .Content | safeHTML }} + + {{ end }} + + diff --git a/layouts/posts/single.html b/layouts/posts/single.html new file mode 100644 index 0000000..d221abb --- /dev/null +++ b/layouts/posts/single.html @@ -0,0 +1,77 @@ +{{ define "head" }} + {{ if .Params.featuredImg -}} + + {{- else if .Params.images -}} + {{- range first 1 .Params.images -}} + + {{- end -}} + {{- end -}} +{{ end }} + +{{ define "header" }} +{{ partial "header.html" . }} +{{ end }} + +{{ define "main" }} + {{- if (or .Params.images .Params.featuredImg) }} +
+ {{- end }} +
+
+
+ +

{{ .Title }}

+
+
+ {{ .Content | replaceRE "()" `${1}${3}` | safeHTML }} +
+ {{- if .Site.Params.relatedPosts }} + {{- partial "related-posts.html" . -}} + {{- end }} +
+
+ {{- with $.Param "author" }} +

{{ . }}

+ {{- end }} + {{- with .Params.tags }} +

+ + {{- range . -}} + {{.}} + {{- end }} +

+ {{- end }} +

{{ i18n "wordCount" . }}

+

{{ dateFormat .Site.Params.dateformNumTime .Date.Local }}

+ {{- if and .GitInfo .Site.Params.gitUrl }} +

{{ .GitInfo.AbbreviatedHash }} @ {{ dateFormat .Site.Params.dateformNum .GitInfo.AuthorDate.Local }}

+ {{- end }} +
+
+ {{- if .Params.toc }} + + {{- end }} +
+ {{- with .NextInSection }} + + {{- end }} + {{- with .PrevInSection }} + + {{- end }} +
+
+ {{- partial "comments.html" . -}} +
+
+{{ end }} + +{{ define "footer" }} +{{ partialCached "footer.html" . }} +{{ end }} diff --git a/public/404.html b/public/404.html new file mode 100644 index 0000000..f753dd0 --- /dev/null +++ b/public/404.html @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + 404 Page not found + + + + + +
+

+ 404-lighthouse +

+ +
+ + + + + + + + diff --git a/public/android-chrome-192x192.png b/public/android-chrome-192x192.png new file mode 100644 index 0000000000000000000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QZVtNkYo z4;cHhObaMSD;0)(+HTPAwlaf`zBk3tnuJzCNEogBuO*7sMd&^|UOA#c#2^8*Sf@IQ zwyrP9v;qQJtWupri`}m!{C`menMMq%+I6N9L)e%OE z0`yyLeB+`?5Fif0C&v-30>AP&TISHkUtLqmt&nNCKF)re~oniq{*8H%FS zYI0yjrlS?=?xCpYMPkf)ZgkrI&5M>av~|w2NB6v4efqnRKtoFu+R)HH&pCcp6Ts`B zp$!VHN$8^Z-=j4KJzRoz=b|5XM7K;g^!fK`HnibH|H%d?y5=$NKF{({=wA|AUW0Zb z(9Ktdl z*UQ+JhPLSW>5h(`&3YHF9|7m2dd>31YO+S}=4uS<@7;#%b0id=QHFaF-di>^6DnYdZcJJo-EAa<(z$m~?F zJgyoYn13Mfd_Jdtb~1M+p!035NuCL)J{TMu!^}hMacXg#Ggq0@7hSmR5nX)*JKC-N z#x*ZdnR704Tj|?I&bgd$*gev%Jw%TXsr_pMjc5WO$QFKaKfpCExyG!3EQfIe< zZ4YO+PAcFKe4N{Ls%J|2lpLz;VJxAg^Vx;Y+@o7a#66$Uz(W#T4exf>H zwk2k4b)aLR9lMb%5j|szXnSs6 zsO76sjFC!x?N_5L^4aFUgXXKhgyzC%=!S0ShHmJFZs>+?=!R}+di(_#1%+y|GDeC3 z0038dR9JLUVRs;Ka&Km7Y-J#Hd2nSQX>fF7004NL + + + + + #00aba9 + + + diff --git a/public/css/style.min.e609a74a3408dd22bcf5c1ccee32f46f94cc9340fcd0db09005e5be27f1f404a.css b/public/css/style.min.e609a74a3408dd22bcf5c1ccee32f46f94cc9340fcd0db09005e5be27f1f404a.css new file mode 100644 index 0000000..1e31105 --- /dev/null +++ b/public/css/style.min.e609a74a3408dd22bcf5c1ccee32f46f94cc9340fcd0db09005e5be27f1f404a.css @@ -0,0 +1 @@ +#home-subtitle{color:red} \ No newline at end of file diff --git a/public/favicon-16x16.png b/public/favicon-16x16.png new file mode 100644 index 0000000000000000000000000000000000000000..4ad4d17fa9482ce98f17cfbd9ca813a91c80ec8c GIT binary patch literal 401 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbKJOS+@4BLl<6e(pbstUx|vage(c z!@6@aFM%A(0G|-on#Rt#i`V%CCB!D>PMfo=xT3MFs>$6i#?3dnuDLrjCL=aEud=o^ zC9|}pbJE0V3)XHquyFaN?g=yJ+K7Au8p2uN5n0T@z%2~Ij105pNB{-vJY5_^Brccs z-{w24z~g*YHIr#!$?yODu?wcWO`SI3#Kbp8ES4Q9{cmtQB1<>W%!4H~pvvKMAxAEg z=Y`L6_&sG@f?5(PQiHqLmmF|ZV_&1ev@(w`{M>ZrwbEbq9o$q9F-`Q8adJ!F))#Xp z-mh6N+kWs)`n7*^|4sS5?eE(Ej8i<=)=OR~@B+FdyecH3Bq*_5p`a)~Ei)%op`@}P zRUxyWB$Jc1ICAEQ%n|m}4IT@;^cY@=3zmFxGMx&vg2B_(&t;ucLK6V71(wGE literal 0 HcmV?d00001 diff --git a/public/favicon-32x32.png b/public/favicon-32x32.png new file mode 100644 index 0000000000000000000000000000000000000000..356b180b0ef9c833fb6b61e1d35ad6b0ec53c03f GIT binary patch literal 526 zcmV+p0`dKcP)Px#IZ#YgMMq9tWoveLe1*5Y%6x!`Nl#sLd4PU{i+zHM ze}s&_#nN$her|MpPgP=EVQsUz#)OEGl9-{!&D+`;?3Mrk010qNS#tmY3ljhU3ljkV znw%H_008?*L_t(I%dL~^Zo?o9g=@!vsa?AC{U3H<5+KlN)inRH6o2CQa&o)&H#Ecz~>x7d*bLI170d12DC1!!U(7Vr-su8pb!s$ z)=8b5!0T!8dLDqh2et+15*}0)XNjRn0m&22O^#zK6167Vn0-;#G5fAfV*&cA>#^od zj>oE9@V=J<$0MiNFofdE70FwkEtT&~RD58W3EX1ZVx`k>i)nwi{RcnJ2fyCm;v3*b z5n23HuMq$M09SfcSaechcOY6Cgx@G{a;ABePT>%h=S&#LUDT#0SfONT5nC0O}VJbn-$q Ql>h($07*qoM6N<$g1Ft+;Q#;t literal 0 HcmV?d00001 diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..4ea0c8d974051d15ace3d41d9695eb7b2182db46 GIT binary patch literal 6318 zcmeHL-D@0G6hHHEcV=g2XXeh#?!4q7k9|<+L-Ed= zIrrYV3!s1oyLSWjCfsrWo&bRU{`j{E@H@WqJP-Lg>{0;Ui~x2a21Q^LACePPmYrx3 zN7Q&@1`h9g3VywR7bZ@=2uFwa!KIlgm^phI4h;>!ONWNx#+3z_ziT!PCNUzbLDZ7%}72t1Mz zF#Z>0BmF~15g6*eY5IC-Y%OFfzQb$GLSi-U=*p&MY{ld(3W7)w_KcgGN%-7~u~H(6 z0*m|ICZaeD(V|KuTn?F|bd(4+AT+sd0S@Ca3Ta^nflwo*U@=x>%o2DpM&YP~fFj@# zuv)29s!6;U3t6qrC5JRdkrkBd3rf(#M6+5wY18FKaR#RX{Ay%ix1*!X;tWP@X@HmJDQ*t ze8lwFfbA#Il=w;z)CINp6In^hvgk{^ir*%J)Vx1g28#Fu?s;ACMSrZIUPh{S@y966 zSCcEg5dU<(MlqgLpMXoDMSm`yMloNqo(uRaU+wjf)PGvfE%i{WH!ju)trxW{*B8R` zE2dD-rFcCe-i_CCOFbJ|2B;n?xF6CQB>iqY&ax$nA~gW@YPF1T!b7=Qt;gg1azTk~ z2DD#c?IWC4d^*m1FD%6SiNLitP}ollBi^stq2f*Zer3r0urt2HerTY8^tw%?^L~pi ziT%6?54!E=IPLA77Z}!Uo<}6Ho%4<|vAy$DtGZ9Js8Lp|qtKt-tb zJljUT>lqs1DyaqCuOh$=%0BU}azMDMpE?=3B%kAJLQfbg(534|K93ccim*=dHX3$N zzmVr#k&%?@1wX{|-%0qcG@xq2yyWA3!%z8|h=FP+{F11}pafFCYj@;Bk)P?O`DgyQ zQa{W5OX3sjm;UAEm+(cL)A_Z>N8~Aq4~q?8d^qI=cm2gX$oc zA13oFtApx81U$O4XL~K^L$-Wt0WPE!HPFxoLe9?RzxmaLIr0BG{a-%&>KV9rZW0z| zr{U92mSEzyJO^qaQyluAai~-rlLzsoTxw!y#kH z7;LVOHHI4-D}CQCHil1ZtUh*st?|cS8*9H||K|wy^uB@b*T)793>;YLYd&1wv%F^z Y^*p_{_66!m^fnVa_zFqR;@`J_1K!v`1^@s6 literal 0 HcmV?d00001 diff --git a/public/index.html b/public/index.html new file mode 100644 index 0000000..e10dfaf --- /dev/null +++ b/public/index.html @@ -0,0 +1,64 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + log101 + + + + + + + +
+
+

log101

+

"Orada, soğuk ve mütemadiyen dönen yaşlı başlı yıldızlar, önce israillenmiş sonra pislik içinde bırakılmış gezegenler, Kadimler mirası kuyruklu gök cisimleri vardı; birbirlerinden bağımız görünseler de modellenmesi neredeyse imkansız bir örgü içerisinde…"

+
+ +
+ +
+ +
+ + + + + + + + diff --git a/public/index.xml b/public/index.xml new file mode 100644 index 0000000..894138b --- /dev/null +++ b/public/index.xml @@ -0,0 +1,10 @@ + + + + log101 + https://log101.github.io/ + Recent content on log101 + Hugo -- gohugo.io + en-us + + diff --git a/public/js/bundle.min.4a9a0ac3d2217822c7865b4161e6c2a71de1d70492264337755427898dd718f6.js b/public/js/bundle.min.4a9a0ac3d2217822c7865b4161e6c2a71de1d70492264337755427898dd718f6.js new file mode 100644 index 0000000..7137f68 --- /dev/null +++ b/public/js/bundle.min.4a9a0ac3d2217822c7865b4161e6c2a71de1d70492264337755427898dd718f6.js @@ -0,0 +1,13 @@ +const throttle=(callback,limit)=>{let timeoutHandler=null;return()=>{if(timeoutHandler==null){timeoutHandler=setTimeout(()=>{callback();timeoutHandler=null;},limit);}};};const listen=(ele,e,callback)=>{if(document.querySelector(ele)!==null){document.querySelector(ele).addEventListener(e,callback);}} +let header=document.getElementById('site-header');let lastScrollPosition=window.pageYOffset;const autoHideHeader=()=>{let currentScrollPosition=Math.max(window.pageYOffset,0);if(currentScrollPosition>lastScrollPosition){header.classList.remove('slideInUp');header.classList.add('slideOutDown');}else{header.classList.remove('slideOutDown');header.classList.add('slideInUp');} +lastScrollPosition=currentScrollPosition;} +let mobileMenuVisible=false;const toggleMobileMenu=()=>{let mobileMenu=document.getElementById('mobile-menu');if(mobileMenuVisible==false){mobileMenu.style.animationName='bounceInRight';mobileMenu.style.webkitAnimationName='bounceInRight';mobileMenu.style.display='block';mobileMenuVisible=true;}else{mobileMenu.style.animationName='bounceOutRight';mobileMenu.style.webkitAnimationName='bounceOutRight' +mobileMenuVisible=false;}} +const showImg=()=>{document.querySelector('.bg-img').classList.add('show-bg-img');} +const hideImg=()=>{document.querySelector('.bg-img').classList.remove('show-bg-img');} +const toggleToc=()=>{document.getElementById('toc').classList.toggle('show-toc');} +if(header!==null){listen('#menu-btn',"click",toggleMobileMenu);listen('#toc-btn',"click",toggleToc);listen('#img-btn',"click",showImg);listen('.bg-img',"click",hideImg);document.querySelectorAll('.post-year').forEach((ele)=>{ele.addEventListener('click',()=>{window.location.hash='#'+ele.id;});});window.addEventListener('scroll',throttle(()=>{autoHideHeader();if(mobileMenuVisible==true){toggleMobileMenu();}},250));};(function(){'use strict';if(!document.queryCommandSupported('copy')){return;} +function flashCopyMessage(el,msg){el.textContent=msg;setTimeout(function(){el.textContent="Copy";},1000);} +function selectText(node){var selection=window.getSelection();var range=document.createRange();range.selectNodeContents(node);selection.removeAllRanges();selection.addRange(range);return selection;} +function addCopyButton(containerEl){var copyBtn=document.createElement("button");copyBtn.className="highlight-copy-btn";copyBtn.textContent="Copy";var codeEl=containerEl.firstElementChild;copyBtn.addEventListener('click',function(){try{var selection=selectText(codeEl);document.execCommand('copy');selection.removeAllRanges();flashCopyMessage(copyBtn,'Copied!')}catch(e){console&&console.log(e);flashCopyMessage(copyBtn,'Failed :\'(')}});containerEl.appendChild(copyBtn);} +var highlightBlocks=document.getElementsByClassName('highlight');Array.prototype.forEach.call(highlightBlocks,addCopyButton);})(); \ No newline at end of file diff --git a/public/mstile-150x150.png b/public/mstile-150x150.png new file mode 100644 index 0000000000000000000000000000000000000000..f3165af47427c2960bea32230963096ecd641077 GIT binary patch literal 1464 zcmV;p1xNacP)Px#El^BUMNDaNM^0RRgNuEFipS2}dw_^|e1vLmcXD@s z!^+rTWp0d-nuCauPgY~Dw7@aO$5H?Q00DGTPE!Ct=GbNc00g;7L_t(|+U=W7YZE~j z$NdVPDuG;P>5DmL36-965pOL?eZfm1Ye92JMRzIWpklKZFXBb?5=9DuUaO_hgBPjx z62!C=`U#YN24}XjnMty5#mtik|KBNlnqOvjXJ_X5&y_0x0000000000000000000? zn5+K=Jm3Kjc)$Z5m-aY2?Q}XjXOs2Fcf8sPV^*o!>U1aOk>7qvnEQ;ACt;gvai)LmN8+o~eHR>@lWT9HN!pq{wlWM@@ z)8N0asD{O_(u(rBYtlozEy6+|8|GRiak&zDX*Xv49y$HC1nmkD>2Yzn65g1$L64qx zTkf5opZ{^fhV9Y;zuv8dUiup|evb{^<4w7I%i$u@W3OB;?>aT^CC7Gi9{J@Vk9R(A zSb5z1vgPzWX1m5bw6`|&5DjY{f!FXiX6zo?U}}{D56_n!U{{34XMaofkN$v+-Q&Zs z$9s=AJmA5-LXUze4}DO#N)LsH+xMsnk8hslG1oQZk<%uow)F6}f(OEq91fEgC5@p`eWXZ z$MZ{iEST}gFJICl9NEY0p})47Ji-@u+#c+b9?Xo#Ost2P5=MD6jCh>Hd5BqQCCcNO z5szN92Oro4PJ~C@h{vxO4@YQJ*AGWM?o)ZZ?udasfX?INs0W{q)r#zh^VN#DFH1%| zK8$+Ye5-gf>QSKb7-C}mk>XK+$8>lUD4vg>5%2AhVvouravbAqyMoO-qaK9gX=ht% zY+k1tPkWIbo37+K)pzb%q=%c}@r-I7^jbU|o-b$}Qq6;Mk>6XXLFrM9^zefZ|GIxj zHBXLSHzdqI46PfY*HK>ld~AVqT^T<=ou^x8C(hTG==L2F*DrOteVD}cT!Ug?D&51_ zzLfsLWbjz%66{-M@F-C1<7V)vQ|xPJ@Muu%^QU_l+~?Ou)O3$|k~&bjN1dcDmhRCe zsT0QSBB1J#Lg7u>_~TPji%VH2 zT%^k7SiA#7!>Vpt4ZLLCv_X|q;vQ8lvZdjIwq2yj^~s!LLJox}=XjC(?B{{BT#g;&a>#O@ z7nK-mFqhQNEz#v*!(6bQ(+b6kl)2z($w?aB^>EX>4U6ba`-PAZc)PV*mhnoa6Eg2ys>@D9TUE z%t_@^00ScnE@KN5BNI!L6ay0=M1VBIWCJ6!R3OXP)X2ol#2my2%YaCrN-hBE7ZG&w SLN%2D0000 \ No newline at end of file diff --git a/public/site.webmanifest b/public/site.webmanifest new file mode 100644 index 0000000..a1553eb --- /dev/null +++ b/public/site.webmanifest @@ -0,0 +1,19 @@ +{ + "name": "", + "short_name": "", + "icons": [ + { + "src": "/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "/android-chrome-384x384.png", + "sizes": "384x384", + "type": "image/png" + } + ], + "theme_color": "#ffffff", + "background_color": "#ffffff", + "display": "standalone" +} diff --git a/public/sitemap.xml b/public/sitemap.xml new file mode 100644 index 0000000..9116271 --- /dev/null +++ b/public/sitemap.xml @@ -0,0 +1,13 @@ + + + + + https://log101.github.io/ + + + + https://log101.github.io/tags/ + + + diff --git a/public/tags/index.html b/public/tags/index.html new file mode 100644 index 0000000..fe5f6ee --- /dev/null +++ b/public/tags/index.html @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + Tags + + + + + + + +
+ +
+ + +
+

Tags

+
+ + + + + + + + + + + diff --git a/public/tags/index.xml b/public/tags/index.xml new file mode 100644 index 0000000..84f1db7 --- /dev/null +++ b/public/tags/index.xml @@ -0,0 +1,10 @@ + + + + Tags on log101 + https://log101.github.io/tags/ + Recent content in Tags on log101 + Hugo -- gohugo.io + en-us + + diff --git a/resources/_gen/assets/scss/scss/style.scss_c16d144eee185fbddd582cd5e25a4fae.content b/resources/_gen/assets/scss/scss/style.scss_c16d144eee185fbddd582cd5e25a4fae.content new file mode 100644 index 0000000..4ed928c --- /dev/null +++ b/resources/_gen/assets/scss/scss/style.scss_c16d144eee185fbddd582cd5e25a4fae.content @@ -0,0 +1 @@ +#spotlight{display:flex;min-height:100vh;flex-direction:column;align-items:center;justify-content:center;max-width:400px;margin:auto;font-size:1.5rem} \ No newline at end of file diff --git a/resources/_gen/assets/scss/scss/style.scss_c16d144eee185fbddd582cd5e25a4fae.json b/resources/_gen/assets/scss/scss/style.scss_c16d144eee185fbddd582cd5e25a4fae.json new file mode 100644 index 0000000..cffde5d --- /dev/null +++ b/resources/_gen/assets/scss/scss/style.scss_c16d144eee185fbddd582cd5e25a4fae.json @@ -0,0 +1 @@ +{"Target":"css/style.min.b2c053d0897094a77db69695729c2dc4d48d3d4200d25d8266eb11ca8c88383b.css","MediaType":"text/css","Data":{"Integrity":"sha256-ssBT0IlwlKd9tpaVcpwtxNSNPUIA0l2CZusRyoyIODs="}} \ No newline at end of file diff --git a/themes/hermit b/themes/hermit new file mode 160000 index 0000000..2dc35c5 --- /dev/null +++ b/themes/hermit @@ -0,0 +1 @@ +Subproject commit 2dc35c5c6a52168a3a7b35c5ad51209f40a851cf