Some fixes for GH deployment

This commit is contained in:
Norbi Peti 2019-05-23 19:09:49 +02:00
parent 023eb802f6
commit c3b33ea561
No known key found for this signature in database
GPG key ID: DBA4C4549A927E56
4 changed files with 7 additions and 3 deletions

2
README.md Normal file
View file

@ -0,0 +1,2 @@
# HiddenSounds
Fan site for Hidden Sounds

View file

@ -11,4 +11,6 @@ defaults:
- scope: - scope:
path: "" path: ""
values: values:
layout: "default" layout: "default"
baseurl: /HiddenSounds

View file

@ -10,7 +10,7 @@
<link rel="apple-touch-icon" href="icon.png"> <link rel="apple-touch-icon" href="icon.png">
<!-- Place favicon.ico in the root directory --> <!-- Place favicon.ico in the root directory -->
<link rel="stylesheet" href="../css/main.css"> <link rel="stylesheet" href="{{ site.baseurl }}/css/main.css">
<meta name="theme-color" content="#fafafa"> <meta name="theme-color" content="#fafafa">
</head> </head>

View file

@ -11,7 +11,7 @@ title: Hidden Sounds
<p> <p>
{% assign artist = site.artists | where: 'name', song.artist | first %} {% assign artist = site.artists | where: 'name', song.artist | first %}
{% if artist %} {% if artist %}
<a href="{{ artist.url }}">{{ artist.name }}</a> <a href="{{ artist.url | prepend: site.baseurl }}">{{ artist.name }}</a>
{% else %} {% else %}
{{ song.artist }} {{ song.artist }}
{% endif %} {% endif %}