add makefile and reorg

main
Steve Ayerhart 2020-11-23 21:50:53 -05:00
parent 3ad30982fd
commit 2bcc320755
No known key found for this signature in database
GPG Key ID: 5C815FDF3A00B8BA
9 changed files with 26 additions and 8 deletions

18
Makefile Normal file
View File

@ -0,0 +1,18 @@
# most of my sites are super simple static html with some styles
# just compile the sass and copy content over
all: ayerh.art steve.ayerh.art music.ayerh.art
ayerh.art:
@echo "Building ayerh.art"
@mkdir -p public/sites/ayerh.art/style
@sassc style/scss/waves.scss public/ayerh.art/style/waves.css
steve.ayerh.art:
@echo "Building steve.ayerh.art"
@mkdir -p public/sites/steve.ayerh.art/style
@sassc style/scss/perspective.scss public/steve.ayerh.art/style/perspective.css
music.ayerh.art:
@echo "Building music.ayerh.art"
@mkdir -p public/sites/music.ayerh.art/style
@sassc style/scss/music.scss public/steve.ayerh.art/style/music.css

View File

@ -2,7 +2,7 @@ server {
server_name music.ayerh.art;
listen 443;
root /home/steve/sites/music.ayerh.art;
root /home/steve/ayerh.art/public/music.ayerh.art;
location ~ /.well-known {
allow all;
@ -12,9 +12,9 @@ server {
proxy_set_header Accept-Encoding "";
# TODO: handle params?
proxy_pass https://musicbrainz.org/ws/2/collection?editor=sayerhat
proxy_pass https://musicbrainz.org/ws/2/collection?editor=sayerhart
xslt_stylesheet /home/steve/sites/music.ayerh.art/xslt/collections.xsl;
xslt_stylesheet /home/steve/ayerh.art/xslt/collections.xsl;
xslt_types *;
}
@ -24,7 +24,7 @@ server {
# TODO: handle params?
proxy_pass https://musicbrainz.org/ws/2/collection/$uuid/releases?inc=artist-credits+releases;
xslt_stylesheet /home/steve/sites/music.ayerh.art/xslt/collection.xsl;
xslt_stylesheet /home/steve/ayerh.art/xslt/collection.xsl;
xslt_types *;
}

View File

@ -9,8 +9,8 @@
<link href="https://fonts.googleapis.com/css?family=Major+Mono+Display" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Major+Mono+Display|Montserrat" rel="stylesheet">
<link href="waves.css" rel="stylesheet">
<script src="waves.js" type="text/javascript"></script>
<link href="/style/waves.css" rel="stylesheet">
<script src="/scripts/waves.js" type="text/javascript"></script>
</head>
<body>

View File

Before

Width:  |  Height:  |  Size: 641 KiB

After

Width:  |  Height:  |  Size: 641 KiB

View File

Before

Width:  |  Height:  |  Size: 575 KiB

After

Width:  |  Height:  |  Size: 575 KiB

View File

Before

Width:  |  Height:  |  Size: 374 KiB

After

Width:  |  Height:  |  Size: 374 KiB

View File

@ -7,7 +7,7 @@
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Alegreya+Sans+SC:wght@900"/>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Open+Sans+Condensed:wght@300"/>
<link rel="stylesheet" href="perspective.css"/>
<link rel="stylesheet" href="/style/perspective.css"/>
<title>Steve Ayerhart</title>
</head>
<body>

View File

@ -7,7 +7,7 @@
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Alegreya+Sans+SC:wght@900"/>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Open+Sans+Condensed:wght@300"/>
<link rel="stylesheet" href="perspective.css"/>
<link rel="stylesheet" href="/style/perspective.css"/>
<title>Steve Ayerhart</title>
</head>
<body>