diff --git a/.github/workflows/hugo.yaml b/.github/workflows/hugo.yaml index 178cbd8..cba9c68 100644 --- a/.github/workflows/hugo.yaml +++ b/.github/workflows/hugo.yaml @@ -32,7 +32,7 @@ jobs: build: runs-on: ubuntu-latest env: - HUGO_VERSION: 0.134.2 + HUGO_VERSION: 0.121.2 # latest at time of writing : 0.134.2 steps: - name: Install Hugo CLI run: | diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..751553b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.bak diff --git a/; b/; new file mode 100644 index 0000000..8f844de --- /dev/null +++ b/; @@ -0,0 +1,158 @@ +baseURL = 'http://qt1b.github.io/' +languageCode = 'en-us' +title = "qt1b's personal page" +theme = "PaperMod" #"terminal" +paginate = 0x10 + + +defaultContentLanguage = 'en' +defaultContentLanguageInSubdir = false +[languages] + [languages.en] + disabled = false + languageCode = 'en-US' + languageDirection = 'ltr' + languageName = 'english' + title = "qt1b's blog" + weight = 1 + [languages.en.params] + subtitle = 'Reference, Tutorials, and Explanations' +[languages.ja] + disabled = false + languageCode = 'ja-JP' + languageDirection = 'ltr' + languageName = '日本語' + title = 'qt1bのブロッグ' + weight = 2 +[languages.ja.params] +# subtitle = 'Referenz, Tutorials und Erklärungen' +[languages.fr] + disabled = true + languageCode = 'fr-FR' + languageDirection = 'ltr' + languageName = 'français' + title = "blog de qt1b" + weight = 3 +[languages.fr.params] +# subtitle = 'Referenz, Tutorials und Erklärungen' +[languages.ko] + disabled = true + languageCode = 'ko-KR' + languageDirection = 'ltr' + languageName = '한국어' + title = "blog de qt1b" + weight = 4 +[languages.ko.params] +# subtitle = 'Referenz, Tutorials und Erklärungen' + + + + +[params] + # env = production # to enable google analytics, opengraph, twitter-cards and schema. + title = "qt1b's blog" + description = "description" + keywords = ["Developpement","CTF","Blog","Portfolio"] + author = "qt1b" + # author: ["Me", "You"] # multiple authors + # images = [""] + DateFormat = "January 2, 2006" + ShowShareButtons = false +ShowReadingTime = true +disableSpecial1stPost = true +disableHLJS = true +displayFullLangName = true +ShowPostNavLinks = true +ShowBreadCrumbs = true +ShowCodeCopyButtons = true +ShowRssButtonInSectionTermList = true +ShowFullTextinRSS = true +ShowToc = true +TocOpen = false +ShowAllPagesInArchive = true +ShowPageNums = true + [params.profileMode] + enabled = false + title = "PaperMod" + imageUrl = "#" + imageTitle = "my image" + + [[params.profileMode.buttons]] + name = "Archives" + url = "archives" + + [[params.profileMode.buttons]] + name = "Tags" + url = "tags" +[params.homeInfoParams] + #Title = "Hi there wave" + Content = "" + [params.editPost] + URL = "https://github.com/qt1b/qt1b.github.io/tree/content" + Text = "Suggest Changes" # edit text + appendFilePath = true # to append file path to Edit link + +[taxonomies] +category = "categories" +tags = "tags" +series = "series" + +[params.assets] +disableHLJS = true # enable js snippets +[params.fuseOpts] +isCaseSensitive = false +shouldSort = true +location = 0 +distance = 1_000 +threshold = 0.4 +minMatchCharLength = 0 +keys = [ "title", "permalink", "summary", "content" ] + + +[[params.socialIcons]] +name = "github" +url = "https://github.com/qt1b" + +[assets] + disableHLJS = true # to disable highlight.js + disableFingerprinting = true + # favicon = "" + # favicon16x16 = "" + # favicon32x32 = "" + # apple_touch_icon = "" + # safari_pinned_tab = "" + +[outputs] +home = [ "HTML", "RSS", "JSON" ] + + +[menus] + [[menus.main]] + identifier = 'tags' + name = 'tags' + pageRef = '/tags/' + weight = 2 + [[menus.main]] + identifier = 'archives' + name = 'archives' + pageRef = '/archives/' + weight = 3 + [[menus.main]] + identifier = 'writeups' + name = 'writeups' + pageRef = '/writeups/' + weight = 5 + [[menus.main]] + identifier = 'search' + name = 'search' + pageRef = '/search/' + weight = 4 + [[languages.ja.menus.main]] + name = 'aakaibu' + pageRef = '/archives/' + weight = 1 + + +# used to center / redimension images in specific cases +[markup.goldmark.renderer] +unsafe = true diff --git a/config.toml b/config.toml deleted file mode 100644 index 82829dc..0000000 --- a/config.toml +++ /dev/null @@ -1,30 +0,0 @@ -baseURL = 'http://qt1b.github.io/' -languageCode = 'en-us' -title = "qt1b's personal page" -theme = ["PaperMod", "gokarna","hello-friend-ng","terminal"] # "terminal" #"gokarna" - -[menus] - [[menus.main]] - name = 'CTF Writeups' - pageRef = '/writeups/asis/2024/detic' - weight = 100 - [[menus.main]] - name = 'misc' - pageRef = '/writeups/pwn' - parent = 'CTF Writeups' - weight = 3 - [[menus.main]] - name = 'misc' - pageRef = '/writeups/rev' - parent = 'CTF Writeups' - weight = 2 - [[menus.main]] - name = 'misc' - pageRef = '/writeups/misc' - parent = 'CTF Writeups' - weight = 1 - - -# used to center / redimension images in specific cases -[markup.goldmark.renderer] -unsafe = true diff --git a/content/_index.fr.md b/content/_index.fr.md new file mode 100644 index 0000000..8bae098 --- /dev/null +++ b/content/_index.fr.md @@ -0,0 +1,6 @@ +--- +title: qt1b's blog page +--- + +Welcome to my personal page ! + diff --git a/content/_index.ja.md b/content/_index.ja.md new file mode 100644 index 0000000..8bae098 --- /dev/null +++ b/content/_index.ja.md @@ -0,0 +1,6 @@ +--- +title: qt1b's blog page +--- + +Welcome to my personal page ! + diff --git a/content/_index.ko.md b/content/_index.ko.md new file mode 100644 index 0000000..8bae098 --- /dev/null +++ b/content/_index.ko.md @@ -0,0 +1,6 @@ +--- +title: qt1b's blog page +--- + +Welcome to my personal page ! + diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000..a534e12 --- /dev/null +++ b/content/_index.md @@ -0,0 +1,3 @@ +--- +title: qt1b's blog page +--- diff --git a/content/archives.fr.md b/content/archives.fr.md new file mode 100644 index 0000000..f0ffd3e --- /dev/null +++ b/content/archives.fr.md @@ -0,0 +1,7 @@ +--- +title: "Archive" +layout: "archives" +# url: "/archives" +summary: "archives" +--- + diff --git a/content/archives.ja.md b/content/archives.ja.md new file mode 100644 index 0000000..f0ffd3e --- /dev/null +++ b/content/archives.ja.md @@ -0,0 +1,7 @@ +--- +title: "Archive" +layout: "archives" +# url: "/archives" +summary: "archives" +--- + diff --git a/content/archives.ko.md b/content/archives.ko.md new file mode 100644 index 0000000..f0ffd3e --- /dev/null +++ b/content/archives.ko.md @@ -0,0 +1,7 @@ +--- +title: "Archive" +layout: "archives" +# url: "/archives" +summary: "archives" +--- + diff --git a/content/archives.md b/content/archives.md new file mode 100644 index 0000000..c8b295f --- /dev/null +++ b/content/archives.md @@ -0,0 +1,7 @@ +--- +title: "Archive" +layout: "archives" +# url: "/archives" +summary: "archives" +--- +arch diff --git a/content/search.md b/content/search.md new file mode 100644 index 0000000..4d0dfdf --- /dev/null +++ b/content/search.md @@ -0,0 +1,7 @@ +--- +title: "Search" +placeholder: Search demo site with full text fuzzy search ... +layout: "search" +--- + + diff --git a/content/test/doumo.ja.md b/content/test/doumo.ja.md new file mode 100644 index 0000000..f71d2d0 --- /dev/null +++ b/content/test/doumo.ja.md @@ -0,0 +1,11 @@ ++++ +title = "どうも" +date = 2024-10-03T11:45:15+02:00 ++++ + + +どうも + +どうも、これはあくまでただのテストで、なんの意味も、なんの意思も含んでおりません。 + +納得で来るようにお願いします。 diff --git a/content/test/test.ko.md b/content/test/test.ko.md new file mode 100644 index 0000000..914ac82 --- /dev/null +++ b/content/test/test.ko.md @@ -0,0 +1,7 @@ +--- +title: "Test" +date: 2024-10-03T11:45:15+02:00 +draft: false +--- + +eeeee diff --git a/content/writeups/README.md b/content/writeups/README.md deleted file mode 100644 index b43a037..0000000 --- a/content/writeups/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# writeups -Here I post writeups about some of the CTF I flagged. -Most of the work is done in the pwn, reverse and misc categories. diff --git a/content/writeups/_index.md b/content/writeups/_index.md new file mode 100644 index 0000000..3270130 --- /dev/null +++ b/content/writeups/_index.md @@ -0,0 +1,11 @@ ++++ +title = "CTF writeups" +date = 2024-10-02 +draft = false +# tags = ["ctf","writeups"] ++++ + +here is a list of... idk + + + diff --git a/content/writeups/asis/2024/custom.css b/content/writeups/asis/2024/custom.css deleted file mode 100644 index ae10da0..0000000 --- a/content/writeups/asis/2024/custom.css +++ /dev/null @@ -1,4 +0,0 @@ -img { - max-width: 10%; - max-height: 10%; -} diff --git a/content/writeups/misc/_index.md b/content/writeups/misc/_index.md new file mode 100644 index 0000000..60bd4e7 --- /dev/null +++ b/content/writeups/misc/_index.md @@ -0,0 +1,8 @@ +--- +title: "Misc" +date: 2024-10-03T12:14:25+02:00 +draft: false +--- +The misc category in ctf contains all sorts of challenges, from general knowledge of tools to competitive programming-like problems. + +Here are my writeups in this category : diff --git a/content/writeups/misc/asis2024-detic.md b/content/writeups/misc/asis2024-detic.md index 347a4ab..11b45b4 100644 --- a/content/writeups/misc/asis2024-detic.md +++ b/content/writeups/misc/asis2024-detic.md @@ -1,9 +1,9 @@ +++ title = "Asis 2024 - misc / detic" -date = 2022-08-07T12:32:23+09:30 +date = 2024-09-22T12:32:23+09:30 tags = ['ctf','misc','asis','2024'] draft = false -toc = false # don't make a table of contents +toc = true +++ - name : detic - category : misc @@ -13,7 +13,6 @@ The goal of this challenge is to find a point on Earth that is equidistant from When we connect to the instance, we get the following message: ``` -|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| | Hi, as a `ASIS` driver, you should be in a position where you are | | exactly the same distance from three passengers in Iran. We will | | calculate this distance with an accuracy of ten meters. For this, | @@ -21,7 +20,6 @@ When we connect to the instance, we get the following message: | exactly 6371 km. Hence, in each step you should find the precise | | langitude and altitue and send to server separeted with comma. | | Are you ready? please send [Y]es or [N]o. | -|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ``` By answering `Y`, we are given 3 coordinates as longitude and latitude: ``` @@ -111,7 +109,7 @@ The first calculation is now done, and validated by the instance ! By repeating these steps, the flag is obtained. -Solver script : +## Solver script ```py from pwn import remote diff --git a/content/writeups/pwn/_index.md b/content/writeups/pwn/_index.md new file mode 100644 index 0000000..95825fb --- /dev/null +++ b/content/writeups/pwn/_index.md @@ -0,0 +1,5 @@ +--- +title: "Pwn" +date: 2024-10-03T14:32:56+02:00 +draft: false +--- diff --git a/content/writeups/rev/_index.md b/content/writeups/rev/_index.md new file mode 100644 index 0000000..0ca6945 --- /dev/null +++ b/content/writeups/rev/_index.md @@ -0,0 +1,6 @@ +--- +title: "Rev" +date: 2024-10-03T14:33:40+02:00 +draft: false +--- + diff --git a/hugo.toml b/hugo.toml new file mode 100644 index 0000000..d53a8b7 --- /dev/null +++ b/hugo.toml @@ -0,0 +1,158 @@ +baseURL = 'http://qt1b.github.io/' +languageCode = 'en-us' +title = "qt1b's personal page" +theme = "PaperMod" #"terminal" +paginate = 0x10 + +defaultContentLanguage = 'en' +defaultContentLanguageInSubdir = false + +[languages.en] +disabled = false +languageCode = 'en-US' +languageDirection = 'ltr' +languageName = 'english' +title = "qt1b's blog" +weight = 1 +[languages.en.params] +subtitle = 'Reference, Tutorials, and Explanations' +[languages.fr] +disabled = true +languageCode = 'fr-FR' +languageDirection = 'ltr' +languageName = 'français' +title = "blog de qt1b" +weight = 2 +[languages.fr.params] +# subtitle = 'Referenz, Tutorials und Erklärungen' +[languages.ja] + disabled = true + languageCode = 'ja-JP' + languageDirection = 'ltr' + languageName = '日本語' + title = 'qt1bのブロッグ' + weight = 3 +[languages.ja.params] +# subtitle = 'Referenz, Tutorials und Erklärungen' +[languages.ko] +disabled = true +languageCode = 'ko-KR' +languageDirection = 'ltr' +languageName = '한국어' +title = "blog de qt1b" +weight = 4 +[languages.ko.params] +# subtitle = 'Referenz, Tutorials und Erklärungen' + + + + +[params] + # env = production # to enable google analytics, opengraph, twitter-cards and schema. + title = "qt1b's blog" + description = "description" + keywords = ["Developpement","CTF","Blog","Portfolio"] + author = "qt1b" + # author: ["Me", "You"] # multiple authors + # images = [""] + DateFormat = "January 2, 2006" + ShowShareButtons = false +ShowReadingTime = true +disableSpecial1stPost = true +disableHLJS = true +displayFullLangName = true +ShowPostNavLinks = true +ShowBreadCrumbs = true +ShowCodeCopyButtons = true +ShowRssButtonInSectionTermList = true +ShowFullTextinRSS = true +ShowToc = true +TocOpen = false +ShowAllPagesInArchive = true +ShowPageNums = true + [params.profileMode] + enabled = false + title = "PaperMod" + imageUrl = "#" + imageTitle = "my image" + + [[params.profileMode.buttons]] + name = "Archives" + url = "archives" + + [[params.profileMode.buttons]] + name = "Tags" + url = "tags" +[params.homeInfoParams] + #Title = "Hi there wave" + Content = "" + [params.editPost] + URL = "https://github.com/qt1b/qt1b.github.io/tree/content" + Text = "Suggest Changes" # edit text + appendFilePath = true # to append file path to Edit link + +[taxonomies] +category = "categories" +tags = "tags" +series = "series" + +[params.assets] +disableHLJS = true # enable js snippets +[params.fuseOpts] +isCaseSensitive = false +shouldSort = true +location = 0 +distance = 1_000 +threshold = 0.4 +minMatchCharLength = 0 +keys = [ "title", "permalink", "summary", "content" ] + + +[[params.socialIcons]] +name = "github" +url = "https://github.com/qt1b" + +[assets] + disableHLJS = true # to disable highlight.js + disableFingerprinting = true + # favicon = "" + # favicon16x16 = "" + # favicon32x32 = "" + # apple_touch_icon = "" + # safari_pinned_tab = "" + +[outputs] +home = [ "HTML", "RSS", "JSON" ] + + +[[menus.main]] + identifier = 'tags' + name = 'tags' + pageRef = '/tags/' + weight = 2 +[[menus.main]] + identifier = 'archives' + name = 'archives' + pageRef = 'archives' + weight = 3 +[[menus.main]] + identifier = 'writeups' + name = 'writeups' + pageRef = '/writeups/' + weight = 5 + [[menus.main]] + identifier = 'search' + name = 'search' + pageRef = 'search' + url = 'search' + weight = 4 + [[languages.ja.menus.main]] + name = 'aakaibu' + pageRef = 'archives' + url = 'archives' + weight = 1 + + +# used to center / redimension images in specific cases +[markup.goldmark.renderer] +unsafe = true diff --git a/layouts.bak.d/404.html b/layouts.bak.d/404.html deleted file mode 100644 index e680954..0000000 --- a/layouts.bak.d/404.html +++ /dev/null @@ -1,10 +0,0 @@ -{{ define "main" }} -
-

404 — {{ $.Site.Params.missingContentMessage | default "Page not found..." }}

- -
- {{ $.Site.Params.missingBackButtonLabel | default "Back to home page" }} → -
- -
-{{ end }} diff --git a/layouts.bak.d/_default/baseof.html b/layouts.bak.d/_default/baseof.html deleted file mode 100644 index a467db2..0000000 --- a/layouts.bak.d/_default/baseof.html +++ /dev/null @@ -1,27 +0,0 @@ - - - - {{ block "title" . }} - {{ if .IsHome }}{{ $.Site.Title }}{{ else }}{{ .Title }} :: {{ $.Site.Title }}{{ end }} - {{ end }} - {{ partial "head.html" . }} - - -{{ $container := cond ($.Site.Params.FullWidthTheme | default false) "container full" (cond ($.Site.Params.CenterTheme | default false) "container center" "container") }} - -
- - {{ partial "header.html" . }} - -
- {{ block "main" . }} - {{ end }} -
- - {{ block "footer" . }} - {{ partial "footer.html" . }} - {{ end }} -
- - - diff --git a/layouts.bak.d/_default/index.html b/layouts.bak.d/_default/index.html deleted file mode 100644 index b971adf..0000000 --- a/layouts.bak.d/_default/index.html +++ /dev/null @@ -1,66 +0,0 @@ -{{ define "main" }} - {{ if .Content }} -
- {{ .Content }} -
- {{ end }} -
- {{ $isntDefault := not (or (eq (trim $.Site.Params.contentTypeName " ") "posts") (eq (trim $.Site.Params.contentTypeName " ") "")) }} - {{ $contentTypeName := cond $isntDefault (string $.Site.Params.contentTypeName) "posts" }} - - {{ $PageContext := . }} - {{ if .IsHome }} - {{ $PageContext = .Site }} - {{ end }} - {{ $paginator := .Paginate (where $PageContext.RegularPages "Type" $contentTypeName) }} - - {{ range $paginator.Pages }} -
-

- {{ .Title | markdownify }} -

- - - - {{ if .Params.tags }} - - {{ end }} - - {{ partial "cover.html" . }} - -
- {{ if .Params.showFullContent }} - {{ .Content }} - {{ else if .Description }} -

{{ .Description | markdownify }}

- {{ else }} - {{ .Summary }} - {{ end }} -
- - {{ if not .Params.showFullContent }} -
- {{ $.Site.Params.ReadMore }} -
- {{ end }} -
- {{ end }} - - {{ partial "pagination.html" . }} -
-{{ end }} diff --git a/layouts.bak.d/_default/list.html b/layouts.bak.d/_default/list.html deleted file mode 100644 index 791efce..0000000 --- a/layouts.bak.d/_default/list.html +++ /dev/null @@ -1,56 +0,0 @@ -{{ define "main" }} - {{ with .Content }} -
- {{ . }} -
- {{ end }} -
- {{ range .Paginator.Pages }} -
-

- {{ .Title | markdownify }} -

- - - {{ if .Params.tags }} - - {{ end }} - - {{ partial "cover.html" . }} - -
- {{ if .Params.showFullContent }} - {{ .Content }} - {{ else if .Description }} -

{{ .Description | markdownify }}

- {{ else }} - {{ .Summary }} - {{ end }} -
- - {{ if not .Params.showFullContent }} -
- {{ $.Site.Params.ReadMore }} -
- {{ end }} -
- {{ end }} - - {{ partial "pagination.html" . }} -
-{{ end }} diff --git a/layouts.bak.d/_default/rss.xml b/layouts.bak.d/_default/rss.xml deleted file mode 100644 index 65aa855..0000000 --- a/layouts.bak.d/_default/rss.xml +++ /dev/null @@ -1,40 +0,0 @@ -{{- $pctx := . -}} -{{- if .IsHome -}}{{ $pctx = .Site }}{{- end -}} -{{- $pages := slice -}} -{{- if or $.IsHome $.IsSection -}} -{{- $pages = $pctx.RegularPages -}} -{{- else -}} -{{- $pages = $pctx.Pages -}} -{{- end -}} -{{- $limit := .Site.Config.Services.RSS.Limit -}} -{{- if ge $limit 1 -}} -{{- $pages = $pages | first $limit -}} -{{- end -}} -{{- printf "" | safeHTML }} - - - {{ 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 }} - {{ .Content | html }} - - {{ end }} - - diff --git a/layouts.bak.d/_default/single.html b/layouts.bak.d/_default/single.html deleted file mode 100644 index 43a4102..0000000 --- a/layouts.bak.d/_default/single.html +++ /dev/null @@ -1,57 +0,0 @@ -{{ define "main" }} -
-

- {{ .Title | markdownify }} -

-
- {{- if .Date -}} - - {{- end -}} - {{- with .Params.Author -}} - - {{- end -}} - {{- if and (.Param "readingTime") (eq (.Param "readingTime") true) -}} - {{ .ReadingTime }} {{ $.Site.Params.minuteReadingTime | default "min read" }} ({{ .WordCount }} {{ $.Site.Params.words | default "words" }}) - {{- end -}} -
- - {{ if .Params.tags }} - - {{ range .Params.tags }} - #{{ . }}  - {{ end }} - - {{ end }} - {{ partial "cover.html" . }} - - {{ if (.Params.Toc | default .Site.Params.Toc) }} -
-

- {{ (.Params.TocTitle | default .Site.Params.TocTitle) | default "Table of Contents" }} -

- {{ .TableOfContents }} -
- {{ end }} - -
- {{- with .Content -}} -
- {{ . | replaceRE "()" `${1}# ${3}` | safeHTML }} -
- {{- end -}} -
- - {{ if eq .Type $.Site.Params.contentTypeName }} - {{ partial "posts_pagination.html" . }} - {{ end }} - - {{ if not (.Params.hideComments | default false) }} - {{ partial "comments.html" . }} - {{ end }} -
-{{ end }} diff --git a/layouts.bak.d/_default/term.html b/layouts.bak.d/_default/term.html deleted file mode 100644 index 2ed7a75..0000000 --- a/layouts.bak.d/_default/term.html +++ /dev/null @@ -1,57 +0,0 @@ -{{ define "main" }} -

Posts for: #{{ .Title }}

- {{ with .Content }} -
- {{ . }} -
- {{ end }} -
- {{ range .Paginator.Pages }} -
-

- {{ .Title | markdownify }} -

- - - {{ if .Params.tags }} - - {{ end }} - - {{ partial "cover.html" . }} - -
- {{ if .Params.showFullContent }} - {{ .Content }} - {{ else if .Description }} -

{{ .Description | markdownify }}

- {{ else }} - {{ .Summary }} - {{ end }} -
- - {{ if not .Params.showFullContent }} -
- {{ $.Site.Params.ReadMore }} -
- {{ end }} -
- {{ end }} - - {{ partial "pagination.html" . }} -
-{{ end }} diff --git a/layouts.bak.d/_default/terms.html b/layouts.bak.d/_default/terms.html deleted file mode 100644 index 9ac27fe..0000000 --- a/layouts.bak.d/_default/terms.html +++ /dev/null @@ -1,22 +0,0 @@ -{{ define "main" }} -
-

{{ .Title }}

- {{ with .Content }} -
- {{ . }} -
- {{ end }} - -
-{{ end }} diff --git a/layouts.bak.d/partials/comments.html b/layouts.bak.d/partials/comments.html deleted file mode 100644 index 64f5a64..0000000 --- a/layouts.bak.d/partials/comments.html +++ /dev/null @@ -1,8 +0,0 @@ - diff --git a/layouts.bak.d/partials/cover.html b/layouts.bak.d/partials/cover.html deleted file mode 100644 index ea562ea..0000000 --- a/layouts.bak.d/partials/cover.html +++ /dev/null @@ -1,24 +0,0 @@ -{{- $cover := false -}} -{{- $autoCover := default $.Site.Params.autoCover false }} - -{{- if index .Params "cover" -}} - {{- if .Resources.GetMatch .Params.Cover }} - {{- $cover = (.Resources.GetMatch .Params.Cover).RelPermalink -}} - {{- else -}} - {{- $cover = absURL .Params.Cover -}} - {{- end -}} -{{- else if $.Site.Params.AutoCover -}} - {{- if (not .Params.Cover) -}} - {{- if .Resources.GetMatch "cover.*" -}} - {{- $cover = (.Resources.GetMatch "cover.*").RelPermalink -}} - {{- end -}} - {{- end -}} -{{- end -}} - -{{if $cover -}} - - {{ .Title | plainify | default -{{- end }} diff --git a/layouts.bak.d/partials/extended_footer.html b/layouts.bak.d/partials/extended_footer.html deleted file mode 100644 index 1ef9361..0000000 --- a/layouts.bak.d/partials/extended_footer.html +++ /dev/null @@ -1,4 +0,0 @@ - diff --git a/layouts.bak.d/partials/extended_head.html b/layouts.bak.d/partials/extended_head.html deleted file mode 100644 index 69baf1f..0000000 --- a/layouts.bak.d/partials/extended_head.html +++ /dev/null @@ -1,4 +0,0 @@ - diff --git a/layouts.bak.d/partials/footer.html b/layouts.bak.d/partials/footer.html deleted file mode 100644 index 02ecd25..0000000 --- a/layouts.bak.d/partials/footer.html +++ /dev/null @@ -1,23 +0,0 @@ - - -{{ $menu := resources.Get "js/menu.js" | js.Build }} -{{ $prism := resources.Get "js/prism.js" | js.Build }} - -{{ $bundle := slice $menu $prism | resources.Concat "bundle.js" | resources.Minify }} - - - - -{{ partial "extended_footer.html" . }} diff --git a/layouts.bak.d/partials/head.html b/layouts.bak.d/partials/head.html deleted file mode 100644 index c77ac7a..0000000 --- a/layouts.bak.d/partials/head.html +++ /dev/null @@ -1,79 +0,0 @@ - - - - -{{ if .Params.noindex }} - {{ if or (eq (.Param "noindex") true) (eq (.Param "noindex") "true") }} - - {{ end }} -{{ else }} - -{{ end }} - - -{{ template "_internal/google_analytics.html" . }} - -{{ $css := resources.Match "css/*.css" }} -{{ range $css }} - {{ $styles := . | minify | fingerprint }} - -{{ end }} - -{{ if (fileExists "static/terminal.css") -}} - -{{- end }} - -{{ if (fileExists "static/style.css") -}} - -{{- end }} - - - - - - - -{{ if (isset $.Site.Params "twitter") }} - {{ if (isset $.Site.Params.Twitter "site") }} - - {{ end }} - -{{ end }} - - - - - - - - -{{ if (isset .Params "cover") }} - {{ $pageCover := .Param "cover" }} - {{ with (.Resources.GetMatch (.Param "cover")) }} - {{ $pageCover = .RelPermalink }} - {{ end }} - -{{ else }} - -{{ end }} - - -{{ range .Params.categories }} - -{{ end }} -{{ if isset .Params "date" }} - -{{ end }} - - -{{ with .OutputFormats.Get "RSS" }} - -{{ end }} - - -{{ with .OutputFormats.Get "json" }} - -{{ end }} - - -{{ partial "extended_head.html" . }} diff --git a/layouts.bak.d/partials/header.html b/layouts.bak.d/partials/header.html deleted file mode 100644 index b43e320..0000000 --- a/layouts.bak.d/partials/header.html +++ /dev/null @@ -1,16 +0,0 @@ -
-
- - {{ if len $.Site.Menus }} - {{ partial "mobile-menu.html" . }} - {{ end }} - {{ if and $.Site.Params.showLanguageSelector (len $.Site.Home.AllTranslations) }} - {{ partial "language-menu.html" . }} - {{ end }} -
- {{ if len $.Site.Menus }} - {{ partial "menu.html" . }} - {{ end }} -
diff --git a/layouts.bak.d/partials/language-menu.html b/layouts.bak.d/partials/language-menu.html deleted file mode 100644 index c9f7c66..0000000 --- a/layouts.bak.d/partials/language-menu.html +++ /dev/null @@ -1,10 +0,0 @@ - diff --git a/layouts.bak.d/partials/logo.html b/layouts.bak.d/partials/logo.html deleted file mode 100644 index 8a1bf1f..0000000 --- a/layouts.bak.d/partials/logo.html +++ /dev/null @@ -1,5 +0,0 @@ - - - diff --git a/layouts.bak.d/partials/menu.html b/layouts.bak.d/partials/menu.html deleted file mode 100644 index dd069cc..0000000 --- a/layouts.bak.d/partials/menu.html +++ /dev/null @@ -1,33 +0,0 @@ - diff --git a/layouts.bak.d/partials/mobile-menu.html b/layouts.bak.d/partials/mobile-menu.html deleted file mode 100644 index 70e9d29..0000000 --- a/layouts.bak.d/partials/mobile-menu.html +++ /dev/null @@ -1,20 +0,0 @@ - diff --git a/layouts.bak.d/partials/pagination.html b/layouts.bak.d/partials/pagination.html deleted file mode 100644 index d496371..0000000 --- a/layouts.bak.d/partials/pagination.html +++ /dev/null @@ -1,16 +0,0 @@ - diff --git a/layouts.bak.d/partials/posts_pagination.html b/layouts.bak.d/partials/posts_pagination.html deleted file mode 100644 index 226d7e8..0000000 --- a/layouts.bak.d/partials/posts_pagination.html +++ /dev/null @@ -1,23 +0,0 @@ -{{ if or .NextInSection .PrevInSection }} - -{{ end }} diff --git a/layouts.bak.d/shortcodes/code.html b/layouts.bak.d/shortcodes/code.html deleted file mode 100644 index 8bab825..0000000 --- a/layouts.bak.d/shortcodes/code.html +++ /dev/null @@ -1,15 +0,0 @@ -{{ $id := delimit (shuffle (seq 1 9)) "" }} - -{{ if .Get "language" }} -
- - -
{{ .Inner | string }}
-
-{{ else }} - {{ errorf "If you want to use the \"collapsable code\" shortcode, you need to pass a mandatory \"language\" param. The issue occured in %q (%q)" .Page.File .Page.Permalink }} -{{ end }} diff --git a/layouts.bak.d/shortcodes/figure.html b/layouts.bak.d/shortcodes/figure.html deleted file mode 100644 index 6642c82..0000000 --- a/layouts.bak.d/shortcodes/figure.html +++ /dev/null @@ -1,8 +0,0 @@ -{{ if .Get "src" }} -
- {{ . | plainify }} - {{ if .Get "caption" }} -
{{ .Get "caption" | safeHTML }}
- {{ end }} -
-{{ end }} diff --git a/layouts.bak.d/shortcodes/image.html b/layouts.bak.d/shortcodes/image.html deleted file mode 100644 index 6937b28..0000000 --- a/layouts.bak.d/shortcodes/image.html +++ /dev/null @@ -1,3 +0,0 @@ -{{ if .Get "src" }} -{{ . | plainify }} -{{ end }} diff --git a/layouts.bak.d/shortcodes/prismjs.html b/layouts.bak.d/shortcodes/prismjs.html deleted file mode 100644 index 2b138cb..0000000 --- a/layouts.bak.d/shortcodes/prismjs.html +++ /dev/null @@ -1,26 +0,0 @@ -{{ $inner := replaceRE "^\r?\n" "" .Inner | string }} -{{ if len .Params | eq 0 }} -
{{ $inner }}
-{{ else }} - {{ if .IsNamedParams }} -
{{ $inner }}
- {{ else }} -
-      {{ $inner }}
-    
- {{ end }} -{{ end }} diff --git a/themes/gokarna b/themes/gokarna deleted file mode 160000 index 5751ac2..0000000 --- a/themes/gokarna +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 5751ac23503660bef9da6a97c90a026ebc24ef66 diff --git a/themes/hello-friend-ng b/themes/hello-friend-ng deleted file mode 160000 index a902dac..0000000 --- a/themes/hello-friend-ng +++ /dev/null @@ -1 +0,0 @@ -Subproject commit a902dacd8477728158ca181e17a340ea2f36d1ac diff --git a/themes/terminal b/themes/terminal deleted file mode 160000 index 170db40..0000000 --- a/themes/terminal +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 170db405356aaf44d245a6194f729b53ca7f041b