mirror of
https://github.com/gmemstr/pogo.git
synced 2024-09-19 17:21:10 +01:00
Small comments and syntax changes
This commit is contained in:
parent
46bffa9ff4
commit
6916e41cfc
4
Makefile
4
Makefile
|
@ -15,3 +15,7 @@ install:
|
|||
|
||||
docker:
|
||||
docker build .
|
||||
|
||||
and run:
|
||||
go build src/webserver.go src/admin.go src/generate_rss.go
|
||||
./webserver.exe
|
|
@ -4,6 +4,7 @@
|
|||
<meta charset="UTF-8">
|
||||
<title>CMS Loading</title>
|
||||
<link rel="stylesheet" href="/assets/styles.css">
|
||||
|
||||
<!-- Custom CSS stylings from admin -->
|
||||
<link rel="stylesheet" href="/assets/custom.css">
|
||||
|
||||
|
@ -32,7 +33,7 @@ get("/json", function(data){
|
|||
var div = document.createElement('div');
|
||||
div.className = 'podcast';
|
||||
|
||||
// Hacky date workaround - convert our Go date outpus to unix timestamp,
|
||||
// Hacky date workaround - convert our Go date output to unix timestamp,
|
||||
// then convert that into a string
|
||||
date = new Date(Date.parse(json.items[i].date_published))
|
||||
month = date.getMonth()+1;
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
body {
|
||||
background-color:red;
|
||||
background-color: lightgrey;
|
||||
}
|
||||
|
||||
.podcast {
|
||||
background-color: red;
|
||||
}
|
|
@ -22,3 +22,6 @@ label {
|
|||
.admin {
|
||||
text-align: center;
|
||||
}
|
||||
hr {
|
||||
max-width: 40%;
|
||||
}
|
Loading…
Reference in a new issue