1
0

Compare commits

..

No commits in common. "fad0010671f2d4dce945efedeea017154052d819" and "6ba04d0b9f73c0f4526622865d47bcdf10b25d4e" have entirely different histories.

9 changed files with 10 additions and 28 deletions

View File

@ -8,4 +8,3 @@ theme = "api-theme"
[outputs] [outputs]
section = ["api"] section = ["api"]
page = ["api"]

View File

@ -4,11 +4,6 @@ date: 2020-10-18
type: image type: image
slug: home slug: home
featuredImage: "image.jpg" featuredImage: "image.jpg"
featuredVideo: "video"
n: "escuela"
s: "ujue"
e: "huerta"
o: "hoguera"
--- ---

View File

@ -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}

View File

@ -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="}}

View File

@ -21,7 +21,7 @@ ul {
width:80%; width:80%;
margin:auto; margin:auto;
li { 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;} a { color:$background;}
} }
} }

View File

@ -1,12 +1,3 @@
{ {
"name": "{{ .Slug }}", "name": "{{ .Title }}", "featuredImage": "{{ .Params.featuredImage }}", "content": {{ .Content | jsonify }}
"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

@ -1,9 +1,7 @@
{{ define "response" }} {{ define "response" }}
{ [
{{ with .Section }}"section" : "{{ . }}",{{ end }} {{ range $index, $e := .Data.Pages }}
"count" : "{{ len .Data.Pages }}", {{ if $index }}, {{ end }}{{ .Render "item" }}
"items" : [{{ range $i, $e := .Data.Pages }} {{ end }}
{{ if $i }}, {{ end }}{{ .Render "item_reduced" }} ]
{{ end }}]
}
{{ end }} {{ end }}

View File

@ -2,7 +2,6 @@
<h1>API Service</h1> <h1>API Service</h1>
<h2>Descarga del contenido para mostrar la web del proyecto Landarte Beire 2020</h2> <h2>Descarga del contenido para mostrar la web del proyecto Landarte Beire 2020</h2>
<ul> <ul>
<li><a href="{{.Site.BaseURL}}items/index.json">Items</a></li> <li><a href="/items/index.json">Items</a></li>
<li><a href="{{.Site.BaseURL}}pages/index.json">Pages</a></li>
</ul> </ul>
{{ end }} {{ end }}