Compare commits
No commits in common. "fad0010671f2d4dce945efedeea017154052d819" and "6ba04d0b9f73c0f4526622865d47bcdf10b25d4e" have entirely different histories.
fad0010671
...
6ba04d0b9f
@ -8,4 +8,3 @@ theme = "api-theme"
|
||||
|
||||
[outputs]
|
||||
section = ["api"]
|
||||
page = ["api"]
|
||||
|
@ -4,11 +4,6 @@ date: 2020-10-18
|
||||
type: image
|
||||
slug: home
|
||||
featuredImage: "image.jpg"
|
||||
featuredVideo: "video"
|
||||
n: "escuela"
|
||||
s: "ujue"
|
||||
e: "huerta"
|
||||
o: "hoguera"
|
||||
|
||||
---
|
||||
|
||||
|
@ -1 +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}
|
||||
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}ul li a{color:#4fa3cb}
|
@ -1 +1 @@
|
||||
{"Target":"scss/main.min.f18d11e814b0988f8eee852238763dc9a02a0d41e808d56520632fc83d161543.css","MediaType":"text/css","Data":{"Integrity":"sha256-8Y0R6BSwmI+O7oUiOHY9yaAqDUHoCNVlIGMvyD0WFUM="}}
|
||||
{"Target":"scss/main.min.b67e46bdef4830eb2e3f962611e06061ad2ad3f280cd18b0a311bdb26eb4f36d.css","MediaType":"text/css","Data":{"Integrity":"sha256-tn5Gve9IMOsuP5YmEeBgYa0q0/KAzRiwoxG9sm60820="}}
|
Binary file not shown.
@ -21,7 +21,7 @@ ul {
|
||||
width:80%;
|
||||
margin:auto;
|
||||
li {
|
||||
float:left; min-width:200px; padding:5px; background:$primary; color:$background; text-align:center; border-radius:10px; margin:0 20px;
|
||||
float:left; min-width:200px; padding:5px; background:$primary; color:$background; text-align:center; border-radius:10px;
|
||||
a { color:$background;}
|
||||
}
|
||||
}
|
||||
|
@ -1,12 +1,3 @@
|
||||
{
|
||||
"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 }}
|
||||
"name": "{{ .Title }}", "featuredImage": "{{ .Params.featuredImage }}", "content": {{ .Content | jsonify }}
|
||||
}
|
||||
|
@ -1,9 +1,7 @@
|
||||
{{ define "response" }}
|
||||
{
|
||||
{{ with .Section }}"section" : "{{ . }}",{{ end }}
|
||||
"count" : "{{ len .Data.Pages }}",
|
||||
"items" : [{{ range $i, $e := .Data.Pages }}
|
||||
{{ if $i }}, {{ end }}{{ .Render "item_reduced" }}
|
||||
{{ end }}]
|
||||
}
|
||||
[
|
||||
{{ range $index, $e := .Data.Pages }}
|
||||
{{ if $index }}, {{ end }}{{ .Render "item" }}
|
||||
{{ end }}
|
||||
]
|
||||
{{ end }}
|
||||
|
@ -2,7 +2,6 @@
|
||||
<h1>API Service</h1>
|
||||
<h2>Descarga del contenido para mostrar la web del proyecto Landarte Beire 2020</h2>
|
||||
<ul>
|
||||
<li><a href="{{.Site.BaseURL}}items/index.json">Items</a></li>
|
||||
<li><a href="{{.Site.BaseURL}}pages/index.json">Pages</a></li>
|
||||
<li><a href="/items/index.json">Items</a></li>
|
||||
</ul>
|
||||
{{ end }}
|
||||
|
Loading…
Reference in New Issue
Block a user