1
0
Fork 0
mirror of https://github.com/GuerillaStudio/now-playing synced 2024-11-17 07:11:52 +00:00

Move to Guérilla.Studio

This commit is contained in:
Tixie 2023-02-20 02:08:02 +01:00
parent 0efad16ff8
commit 7adca5d512
12 changed files with 64 additions and 36 deletions

17
.editorconfig Normal file
View file

@ -0,0 +1,17 @@
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8
[*.scss]
indent_style = space
indent_size = 2
[*.yml]
indent_style = space
indent_size = 2

View file

@ -1,6 +1,6 @@
# Now Playing
Handpicked Albums by the Glitch.Family
Collection of Handpicked Albums by the Guérilla.Studio
## Project setup

View file

@ -6,6 +6,10 @@
font-weight: bold;
}
.semibold {
font-weight: 600;
}
.italic {
font-style: italic;
}

View file

@ -14,4 +14,8 @@
.footer__logo:link,
.footer__logo:visited {
display: inline-block;
color: #8f92ae;
font-size: 3rem;
font-weight: bold;
letter-spacing: 0.015em;
}

View file

@ -45,7 +45,7 @@
.home-about {
padding-top: 20rem;
background-color: $color-primary;
color: rgba($color-light-text, .6rem);
color: rgba($color-light-text, .6);
text-align: center;
font-style: italic;
font-size: 2.6rem;

View file

@ -1,13 +1,16 @@
baseURL = "http://localhost:1313/"
languageCode = "en-us"
title = "Now Playing"
author = "Glitch.Family"
mainSections = ["a"]
paginate = 16
disableKinds = ["taxonomy", "taxonomyTerm"]
[params]
description = "Collection of Handpicked Albums by Guérilla.Studio"
[params.author]
name = "Guérilla.Studio"
[imaging]
quality = 95
[security]
[security.funcs]
getenv = [ "^HUGO_", "CONTEXT", "URL" ]
[security.funcs]
getenv = [ "^HUGO_", "CONTEXT", "URL" ]

View file

@ -4,7 +4,7 @@
{{ block "metaTitle" . }}
<title>{{ .Title }}</title>
<meta name="description" content="Handpicked Albums by the Glitch.Family">
<meta name="description" content="{{ .Site.Params.description }}">
{{ end }}
@ -21,17 +21,17 @@
<meta name="msapplication-TileColor" content="#0e1848">
<meta name="theme-color" content="#0e1848">
{{ block "metaSocial" . }}
<!-- opengraph -->
<meta property="og:title" content="Now Playing ∴ Great music should be shared">
<meta property="og:description" content="Handpicked Albums by the Glitch.Family">
<meta property="og:url" content="https://music.glitch.family">
<meta property="og:image" content="{{ "/favicons/android-chrome-512x512.png" | absURL }}">
<meta property="og:image:height" content="512">
<meta property="og:image:width" content="512">
<!-- twitter card -->
<meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="Now Playing ∴ Great music should be shared" />
<meta name="twitter:description" content="Handpicked Albums by the Glitch.Family" />
<!-- opengraph -->
<meta property="og:title" content="Now Playing ∴ Great music should be shared">
<meta property="og:description" content="{{ .Site.Params.description }}">
<meta property="og:url" content="{{ "/" | absURL }}">
<meta property="og:image" content="{{ "/favicons/android-chrome-512x512.png" | absURL }}">
<meta property="og:image:height" content="512">
<meta property="og:image:width" content="512">
<!-- twitter card -->
<meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="Now Playing ∴ Great music should be shared" />
<meta name="twitter:description" content="{{ .Site.Params.description }}" />
{{ end }}
{{ with .Site.GetPage "/" }}

View file

@ -1,7 +1,7 @@
{{ define "metaTitle" }}
{{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" "a") }}
<title>{{ if (not $paginator.HasPrev) }}{{ .Site.Title }} ∴ Handpicked Albums by the Glitch.Family{{ else }}{{ .Site.Title }} ∴ Albums (Page {{ $paginator.PageNumber }}) {{ end }}</title>
<meta name="description" content="Handpicked Albums by the Glitch.Family">
<title>{{ if (not $paginator.HasPrev) }}{{ .Site.Title }} ∴ Handpicked Albums by Guérilla.Studio{{ else }}{{ .Site.Title }} ∴ Albums (Page {{ $paginator.PageNumber }}) {{ end }}</title>
<meta name="description" content="{{ .Site.Params.description }}">
{{ end }}
{{ define "main" }}
{{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" "a") }}
@ -13,7 +13,7 @@
<h1 class="home-head__title" data-text="Handpicked Albums">
<span class="glitch" data-text="Handpicked">Handpicked</span> <span class="glitch" data-text="Albums">Albums</span>
</h1>
<p class="home-head__subtitle">by the Glitch.Family</p>
<p class="home-head__subtitle">A collection by Guérilla.Studio</p>
</div>
</div>
</div>
@ -67,10 +67,9 @@
<section class="home-about">
<div class="container">
<h2 class="visually-hidden">About</h2>
<p>At Glitch.Family we love music, I mean we LOVE music! And we also LOVE great album covers. So we decided to make a place where we can showcase albums dear to us.</p>
<p>At Guérilla we love music, I mean we <strong class="semibold">LOVE</strong> music! And we also LOVE great album covers. So we decided to make a place where we can showcase albums dear to us.</p>
<p>
This is Now Playing.<br>
A Glitch.Family's project.
This is <strong class="semibold">Now Playing</strong>, our little favorite albums collection.
</p>
</div>
</section>

View file

@ -2,11 +2,12 @@
<channel>
<title>{{ .Site.Title }}</title>
<link>{{ .Permalink }}</link>
<description>Handpicked Albums by the Glitch.Family</description>
<description>{{ .Site.Params.description }}</description>
<description>{{ .Site.Params.author.name }}</description>
<generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }}
<language>{{.}}</language>{{end}}{{ with .Site.Author.email }}
<managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Author.email }}
<webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ if not .Date.IsZero }}
<language>{{.}}</language>{{end}}{{ with .Site.Params.author.name }}
<managingEditor>{{.}}</managingEditor>{{end}}{{ with .Site.Params.author.name }}
<webMaster>{{.}}</webMaster>{{end}}{{ if not .Date.IsZero }}
<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
{{ with .OutputFormats.Get "RSS" }}
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}

View file

@ -1,5 +1,5 @@
<footer class="footer">
<a class="footer__logo" href="https://glitch.family">
<img src="{{ "/images/logo-glitch-family.svg" | absURL }}" width="307" height="72" alt="by Glitch.Family" title="by Glitch.Family">
<a class="footer__logo" href="https://guerilla.studio">
Guérilla.Studio
</a>
</footer>

View file

@ -1,9 +1,9 @@
{
"name": "now-playing",
"version": "1.0.0",
"description": " Handpicked Albums by the Glitch.Family",
"version": "1.0.1",
"description": "Collection of Handpicked Albums by Guérilla.Studio",
"repository": {
"type": "git",
"url": "git+https://github.com/GlitchFamily/now-playing.git"
"url": "git+https://github.com/GuerillaHQ/now-playing.git"
}
}

View file

@ -1,12 +1,12 @@
---
backend:
name: github
repo: GlitchFamily/now-playing
repo: GuerillaHQ/now-playing
branch: main
# local_backend: true
site_url: https://music.glitch.family
display_url: https://music.glitch.family
logo_url: https://music.glitch.family/images/logo-glitch-family.svg
site_url: https://music.guerilla.studio
display_url: https://music.guerilla.studio
logo_url: https://music.guerilla.studio/images/illustration.svg
media_folder: assets/upload
public_folder: "/upload"
collections: