diff --git a/assets/basic.scss b/assets/basic.scss index f7ab76c..3e6a3a7 100644 --- a/assets/basic.scss +++ b/assets/basic.scss @@ -50,6 +50,8 @@ img { width: 100%; } +audio {height:200px; width:300px; background:yellow;} + @import "logo"; @import "page-404"; @import "elements/page-links"; diff --git a/content/music/_index.md b/content/music/_index.md new file mode 100644 index 0000000..05c050e --- /dev/null +++ b/content/music/_index.md @@ -0,0 +1,4 @@ +--- +title: "Horhik's music" +date: 2021-06-06 +--- diff --git a/content/music/kek.md b/content/music/kek.md new file mode 100644 index 0000000..50dba9c --- /dev/null +++ b/content/music/kek.md @@ -0,0 +1,6 @@ +--- +title: "Kek" +date: 2021-11-13T20:00:32+03:00 +draft: true +--- + diff --git a/content/music/software_should_work.mp3 b/content/music/software_should_work.mp3 new file mode 100644 index 0000000..23034c5 Binary files /dev/null and b/content/music/software_should_work.mp3 differ diff --git a/content/music/software_should_work_ru.md b/content/music/software_should_work_ru.md new file mode 100644 index 0000000..ad60735 --- /dev/null +++ b/content/music/software_should_work_ru.md @@ -0,0 +1,16 @@ +--- +title: "Software should work(ru)" +date: 2021-11-13T19:22:35+03:00 +image_url: https://pixelfed-prod.nyc3.cdn.digitaloceanspaces.com/public/m/_v2/319616208418770944/1672d1d81-1ab3fb/vnRYg4ZEMivr/4Q5oENJ9gwjBtTwrFBeo0RXPc1fml1h4ObzTSMAz.jpg +type: post +--- + +# Software should work + *"софт должен просто работать"* + +Made with [BespokeSynth](https://www.bespokesynth.com/) + + diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 1f890dd..d4edfa4 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,5 +1,14 @@ {{ define "main" }}
+

{{ .Title }}

diff --git a/layouts/music/li.html b/layouts/music/li.html new file mode 100644 index 0000000..695a172 --- /dev/null +++ b/layouts/music/li.html @@ -0,0 +1,4 @@ +
  • + {{ .Title }} +
    {{ .Date.Format "Mon, Jan 2, 2006" }}
    +
  • diff --git a/layouts/music/list.html b/layouts/music/list.html new file mode 100644 index 0000000..facdc55 --- /dev/null +++ b/layouts/music/list.html @@ -0,0 +1,26 @@ + + + + + {{ .Title }} + {{ $style := resources.Get "css/basic.scss" }} + {{ $style = $style | toCSS }} + {{ with .Site.Params.description }}{{ end }} + {{ with .Site.Params.author }}{{ end }} + + + + + {{ with .OutputFormats.Get "RSS" -}} + {{ printf `` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }} + {{- end }} + +{{ partial "header" . }} +
    +
    + {{ range .Pages }} + {{ .Render "summary"}} + {{ end }} +
    +
    +{{ partial "footer" . }} diff --git a/layouts/music/summary.html b/layouts/music/summary.html new file mode 100644 index 0000000..d5b9cc3 --- /dev/null +++ b/layouts/music/summary.html @@ -0,0 +1,9 @@ +
    +
    + {{ .Title }} +
    + + {{ range .Params.tags }} + {{ . }} + {{ end }} +
    diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 00679f5..73a1d0e 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -3,6 +3,7 @@ {{$home := "░█▄█░█▀█░▀█▀░█▀█░▄▀░░▀▄░\n\n░█░█░█▀█░░█░░█░█░█░░░░█░\n░▀░▀░▀░▀░▀▀▀░▀░▀░░▀░░▀░░"}} {{$portfolio := "░█▀█░█▀█░█▀▄░▀█▀░█▀▀░█▀█░█░░░▀█▀░█▀█\n░█▀▀░█░█░█▀▄░░█░░█▀▀░█░█░█░░░░█░░█░█\n░▀░░░▀▀▀░▀░▀░░▀░░▀░░░▀▀▀░▀▀▀░▀▀▀░▀▀"}} {{$blog := "░█▀▄░█░░░█▀█░█▀▀\n ░█▀▄░█░░░█░█░█░█\n ░▀▀░░▀▀▀░▀▀▀░▀▀▀"}} +{{$music := "░█▄█░█░█░█▀▀░▀█▀░█▀▀\n░█░█░█░█░▀▀█░░█░░█░░\n░▀░▀░▀▀▀░▀▀▀░▀▀▀░▀▀▀"}} {{$sec := .FirstSection}}