Merge branch 'dev' of github.com:Horhik/redeyes into dev
This commit is contained in:
commit
c37a86c101
|
@ -50,6 +50,8 @@ img {
|
|||
width: 100%;
|
||||
}
|
||||
|
||||
audio {height:200px; width:300px; background:yellow;}
|
||||
|
||||
@import "logo";
|
||||
@import "page-404";
|
||||
@import "elements/page-links";
|
||||
|
|
4
content/music/_index.md
Normal file
4
content/music/_index.md
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
title: "Horhik's music"
|
||||
date: 2021-06-06
|
||||
---
|
6
content/music/kek.md
Normal file
6
content/music/kek.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: "Kek"
|
||||
date: 2021-11-13T20:00:32+03:00
|
||||
draft: true
|
||||
---
|
||||
|
BIN
content/music/software_should_work.mp3
Normal file
BIN
content/music/software_should_work.mp3
Normal file
Binary file not shown.
16
content/music/software_should_work_ru.md
Normal file
16
content/music/software_should_work_ru.md
Normal file
|
@ -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/)
|
||||
|
||||
<audio controls>
|
||||
<source src="../software_should_work.mp3" type="audio/mp3">
|
||||
Your browser does not support the audio tag.
|
||||
</audio>
|
|
@ -1,5 +1,14 @@
|
|||
{{ define "main" }}
|
||||
<main>
|
||||
<style>
|
||||
audio {height:200px;
|
||||
width:300px;
|
||||
background-image:url("{{.Params.image_url}}");
|
||||
background-position: center;
|
||||
background-size: 550px 425px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
</style>
|
||||
<article class="blog-post">
|
||||
<h1 class="blog-header">{{ .Title }}</h1>
|
||||
<sub><small><time>{{ .Date.Format "02.01.2006 15:04" }}</time></small></sub>
|
||||
|
|
4
layouts/music/li.html
Normal file
4
layouts/music/li.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
<li>
|
||||
<a href="{{ .Permalink }}">{{ .Title }}</a>
|
||||
<div class="meta">{{ .Date.Format "Mon, Jan 2, 2006" }}</div>
|
||||
</li>
|
26
layouts/music/list.html
Normal file
26
layouts/music/list.html
Normal file
|
@ -0,0 +1,26 @@
|
|||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>{{ .Title }}</title>
|
||||
{{ $style := resources.Get "css/basic.scss" }}
|
||||
{{ $style = $style | toCSS }}
|
||||
{{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
|
||||
{{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,400;0,500;0,700;1,300&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" href="{{ $style.Permalink }}">
|
||||
|
||||
{{ with .OutputFormats.Get "RSS" -}}
|
||||
{{ printf `<link rel="%s" type="%s" href="%s" title="%s">` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }}
|
||||
{{- end }}
|
||||
</head>
|
||||
{{ partial "header" . }}
|
||||
<main id="main">
|
||||
<div>
|
||||
{{ range .Pages }}
|
||||
{{ .Render "summary"}}
|
||||
{{ end }}
|
||||
</div>
|
||||
</main>
|
||||
{{ partial "footer" . }}
|
9
layouts/music/summary.html
Normal file
9
layouts/music/summary.html
Normal file
|
@ -0,0 +1,9 @@
|
|||
<article class="recent-block recent-block--right">
|
||||
<div>
|
||||
<a class="article__link" href="{{ .Permalink }}">{{ .Title }}</a>
|
||||
</div>
|
||||
<time class="recent-block__time">{{ .Date.Format "02.01.2006 15:04" }}</time>
|
||||
{{ range .Params.tags }}
|
||||
<a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
|
||||
{{ end }}
|
||||
</article>
|
|
@ -3,6 +3,7 @@
|
|||
{{$home := "░█▄█░█▀█░▀█▀░█▀█░▄▀░░▀▄░\n\n░█░█░█▀█░░█░░█░█░█░░░░█░\n░▀░▀░▀░▀░▀▀▀░▀░▀░░▀░░▀░░"}}
|
||||
{{$portfolio := "░█▀█░█▀█░█▀▄░▀█▀░█▀▀░█▀█░█░░░▀█▀░█▀█\n░█▀▀░█░█░█▀▄░░█░░█▀▀░█░█░█░░░░█░░█░█\n░▀░░░▀▀▀░▀░▀░░▀░░▀░░░▀▀▀░▀▀▀░▀▀▀░▀▀"}}
|
||||
{{$blog := "░█▀▄░█░░░█▀█░█▀▀\n ░█▀▄░█░░░█░█░█░█\n ░▀▀░░▀▀▀░▀▀▀░▀▀▀"}}
|
||||
{{$music := "░█▄█░█░█░█▀▀░▀█▀░█▀▀\n░█░█░█░█░▀▀█░░█░░█░░\n░▀░▀░▀▀▀░▀▀▀░▀▀▀░▀▀▀"}}
|
||||
{{$sec := .FirstSection}}
|
||||
<header class="logo--wrapper">
|
||||
<a href="{{ .Page.URL }}"><pre class="logo toilet-logo" title="Home">{{if eq .Section "portfolio"}}
|
||||
|
@ -10,6 +11,8 @@
|
|||
<!-- <span class="logo-quote">O. George’s works</span> -->
|
||||
{{else if eq .Section "posts"}}
|
||||
{{$blog}}
|
||||
{{else if eq .Section "music"}}
|
||||
{{$music}}
|
||||
<!--<span class="logo-quote">O. George’s thoughts</span> -->
|
||||
{{else}}
|
||||
{{$horhik}}
|
||||
|
@ -22,6 +25,7 @@
|
|||
<li class="page-link"><a href="{{ .URL | relURL }}">
|
||||
{{ if eq (title .Section) "Portfolio" }}{{$portfolio}}
|
||||
{{ else if eq (title .Section) "Posts"}}{{$blog}}
|
||||
{{ else if eq (title .Section) "Music"}}{{$music}}
|
||||
{{end}}
|
||||
</a></li>
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in a new issue