1
0

Compare commits

..

2 Commits

Author SHA1 Message Date
Siroco
e34a3d527b Add page api template 2020-10-23 02:16:32 +02:00
Siroco
46f84c73d1 Add page api template 2020-10-23 02:16:20 +02:00
5 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1 @@
body{background:#4fa3cb;color:#fff;font-family:roboto,arial,sans-serif}a{text-decoration:none;font-weight:700;color:#fff}h1,h2{text-align:center}h1{font-size:5em;font-size:10vw}h2{font-family:serif}ul{list-style:none;width:80%;margin:auto}ul li{float:left;min-width:200px;padding:5px;background:#fff;color:#4fa3cb;text-align:center;border-radius:10px;margin:0 20px}ul li a{color:#4fa3cb}

View File

@ -0,0 +1 @@
{"Target":"scss/main.min.f18d11e814b0988f8eee852238763dc9a02a0d41e808d56520632fc83d161543.css","MediaType":"text/css","Data":{"Integrity":"sha256-8Y0R6BSwmI+O7oUiOHY9yaAqDUHoCNVlIGMvyD0WFUM="}}

View File

@ -0,0 +1,5 @@
{
"name": "{{ .Slug }}",
"title": "{{ .Title }}",
"permalink": "{{ .Permalink }}",
}

View File

@ -0,0 +1,12 @@
{
"name": "{{ .Slug }}",
"title": "{{ .Title }}",
"title": "{{ .Permalink }}",
"featuredImage": "{{ .Params.featuredImage }}",
"featuredVideo": "{{ .Params.featuredVideo }}",
"n":"{{ .Params.n }}",
"s":"{{ .Params.s }}",
"e":"{{ .Params.e }}",
"o":"{{ .Params.o }}",
"content": {{ .Content | jsonify }}
}

View File

@ -0,0 +1 @@
{{ define "response" }} {{ .Render "item" }} {{ end }}