Proponer un sistema básico de asistencia
This commit is contained in:
		
							parent
							
								
									1591b16245
								
							
						
					
					
						commit
						94871720db
					
				| 
						 | 
				
			
			@ -2,10 +2,14 @@
 | 
			
		|||
 | 
			
		||||
## Crear contenido
 | 
			
		||||
 | 
			
		||||
Por ejemplo, para crear un nodo que se llame `nodo1` para el 2019:
 | 
			
		||||
Para crear un nodo que se llame `nodo1` para el 2019:
 | 
			
		||||
 | 
			
		||||
    hugo new 2019/nodos/nodo1.md -k nodo
 | 
			
		||||
 | 
			
		||||
Para apuntarse como asistente:
 | 
			
		||||
 | 
			
		||||
    hugo new 2019/asistencia/persona.md -k asistencia
 | 
			
		||||
 | 
			
		||||
Para empezar un nuevo hackmeeting:
 | 
			
		||||
 | 
			
		||||
    hugo new 2022 -k hm
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -0,0 +1,14 @@
 | 
			
		|||
---
 | 
			
		||||
title: "{{ replace .Name "-" " " | title }}"
 | 
			
		||||
date: {{ .Date }}
 | 
			
		||||
type: "asistencia"
 | 
			
		||||
entrada: "fecha"
 | 
			
		||||
salida: "fecha"
 | 
			
		||||
dieta: "omnivora"
 | 
			
		||||
camiseta: "talla(s)"
 | 
			
		||||
material: ["proyector", "internet"]
 | 
			
		||||
dormir: "si (notas)"
 | 
			
		||||
comer: "si (notas)"
 | 
			
		||||
necesidades: ""
 | 
			
		||||
draft: false
 | 
			
		||||
---
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1,10 @@
 | 
			
		|||
---
 | 
			
		||||
title: "Asistencia"
 | 
			
		||||
date: 2021-09-14T11:29:27+02:00
 | 
			
		||||
type: "asistencia"
 | 
			
		||||
draft: false
 | 
			
		||||
---
 | 
			
		||||
 | 
			
		||||
Esta es la plantilla para inscribirse y que sepamos de antemano cuanta gente va
 | 
			
		||||
a venir, para poder preparar el espacio y lo que haga falta. Avisa en matrix o
 | 
			
		||||
en la lista, o envía un pull request con al repositorio de esta web.
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1,14 @@
 | 
			
		|||
---
 | 
			
		||||
title: "Shagi"
 | 
			
		||||
date: 2021-09-17T11:42:10+02:00
 | 
			
		||||
type: "asistencia"
 | 
			
		||||
entrada: "2019-09-19"
 | 
			
		||||
salida: "2010-09-22"
 | 
			
		||||
dieta: "omnivora"
 | 
			
		||||
camiseta: "L"
 | 
			
		||||
material:
 | 
			
		||||
dormir: "sí (en furgo)"
 | 
			
		||||
comer: "sí"
 | 
			
		||||
necesidades: ""
 | 
			
		||||
draft: false
 | 
			
		||||
---
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1,42 @@
 | 
			
		|||
{{ define "main" }}
 | 
			
		||||
    {{ .Content }}
 | 
			
		||||
 | 
			
		||||
    <table>
 | 
			
		||||
        <thead>
 | 
			
		||||
            <tr>
 | 
			
		||||
                <th>Quién</th>
 | 
			
		||||
                <th>Entrada</th>
 | 
			
		||||
                <th>Salida</th>
 | 
			
		||||
                <th>Tipo de comida</th>
 | 
			
		||||
                <th>Talla camiseta</th>
 | 
			
		||||
                <th>Material/Otros</th>
 | 
			
		||||
                <th>Dormir</th>
 | 
			
		||||
                <th>Comer</th>
 | 
			
		||||
                <th>Necesidades Especiales</th>
 | 
			
		||||
            </tr>
 | 
			
		||||
        </thead>
 | 
			
		||||
        <tbody>
 | 
			
		||||
        {{ range where .Pages "Params.type" "asistencia" }}
 | 
			
		||||
            <tr>
 | 
			
		||||
                <td>{{ .Title }}</td>
 | 
			
		||||
                <td>{{ .Params.entrada }}</td>
 | 
			
		||||
                <td>{{ .Params.salida }}</td>
 | 
			
		||||
                <td>{{ .Params.dieta }}</td>
 | 
			
		||||
                <td>{{ .Params.camiseta }}</td>
 | 
			
		||||
                <td>{{ .Params.material }}</td>
 | 
			
		||||
                <td>{{ .Params.dormir }}</td>
 | 
			
		||||
                <td>{{ .Params.comer }}</td>
 | 
			
		||||
                <td>{{ .Params.necesidades }}</td>
 | 
			
		||||
            </tr>
 | 
			
		||||
        {{ end }}
 | 
			
		||||
        </tbody>
 | 
			
		||||
    </table>
 | 
			
		||||
{{ end }}
 | 
			
		||||
 | 
			
		||||
{{ define "sidebar_menu" }}
 | 
			
		||||
    <ul>
 | 
			
		||||
    {{ range .Parent.Pages }}
 | 
			
		||||
        <li><a href="{{ .Permalink }}">{{.Title}}</a></li>
 | 
			
		||||
    {{ end }}
 | 
			
		||||
    </ul>
 | 
			
		||||
{{ end}}
 | 
			
		||||
| 
						 | 
				
			
			@ -2,9 +2,8 @@
 | 
			
		|||
    {{ .TableOfContents }}
 | 
			
		||||
    {{ .Content }}
 | 
			
		||||
 | 
			
		||||
    {{ range .Pages }}
 | 
			
		||||
    {{ range where .Pages "Params.type" "nodos" }}
 | 
			
		||||
        {{ partial "nodo" . }}
 | 
			
		||||
        {{ .Render "li" }}
 | 
			
		||||
    {{ end }}
 | 
			
		||||
{{ end }}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue