Mostrar el menú anual en la vista de nodo y el menú de otros años en la home anual
This commit is contained in:
		
							parent
							
								
									9cf888dc38
								
							
						
					
					
						commit
						1591b16245
					
				| 
						 | 
					@ -1,6 +1,7 @@
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
title: "{{ replace .Name "-" " " | title }}"
 | 
					title: "{{ replace .Name "-" " " | title }}"
 | 
				
			||||||
date: {{ .Date }}
 | 
					date: {{ .Date }}
 | 
				
			||||||
 | 
					type: "yearhome"
 | 
				
			||||||
draft: true
 | 
					draft: true
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,7 +1,7 @@
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
title: "{{ replace .Name "-" " " | title }}"
 | 
					title: "{{ replace .Name "-" " " | title }}"
 | 
				
			||||||
date: {{ .Date }}
 | 
					date: {{ .Date }}
 | 
				
			||||||
type: nodo
 | 
					type: "nodos"
 | 
				
			||||||
quien: "organizadoras"
 | 
					quien: "organizadoras"
 | 
				
			||||||
madrina: "madrina"
 | 
					madrina: "madrina"
 | 
				
			||||||
duracion: "1 hora"
 | 
					duracion: "1 hora"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,7 @@
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
title: "2019"
 | 
					title: "2019"
 | 
				
			||||||
date: 2021-09-14T11:29:27+02:00
 | 
					date: 2021-09-14T11:29:27+02:00
 | 
				
			||||||
 | 
					type: "yearhome"
 | 
				
			||||||
draft: false
 | 
					draft: false
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -2,7 +2,7 @@
 | 
				
			||||||
title: "Nodos"
 | 
					title: "Nodos"
 | 
				
			||||||
date: 2021-09-14T10:56:09+02:00
 | 
					date: 2021-09-14T10:56:09+02:00
 | 
				
			||||||
type: nodos
 | 
					type: nodos
 | 
				
			||||||
draft: true
 | 
					draft: false
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Nodos
 | 
					# Nodos
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,7 +1,7 @@
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
title: "Audio en El Fediverso: Introducción a Funkwhale"
 | 
					title: "Audio en El Fediverso: Introducción a Funkwhale"
 | 
				
			||||||
date: 2021-09-15T11:12:59+02:00
 | 
					date: 2021-09-15T11:12:59+02:00
 | 
				
			||||||
type: nodo
 | 
					type: "nodos"
 | 
				
			||||||
quien: "Siroco"
 | 
					quien: "Siroco"
 | 
				
			||||||
madrina: ""
 | 
					madrina: ""
 | 
				
			||||||
duracion: "1 hora"
 | 
					duracion: "1 hora"
 | 
				
			||||||
| 
						 | 
					@ -21,6 +21,6 @@ funkwhale y mirar hasta que punto podemos usar su API para desarrollar un
 | 
				
			||||||
sistema de podcasting. El resultado de la investigación será presentado en este
 | 
					sistema de podcasting. El resultado de la investigación será presentado en este
 | 
				
			||||||
nodo.
 | 
					nodo.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
##Archivos
 | 
					## Archivos
 | 
				
			||||||
 | 
					
 | 
				
			||||||
http://funkwhale.audio/
 | 
					http://funkwhale.audio/
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -15,4 +15,5 @@ Cantaremos entre todos varias canciones a las que les hemos cambiado la letra
 | 
				
			||||||
con temas relacionados con el hacktivismo y el software libre.
 | 
					con temas relacionados con el hacktivismo y el software libre.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Archivos
 | 
					## Archivos
 | 
				
			||||||
 | 
					
 | 
				
			||||||
https://negromate.ddns.net o http://fyqxyftczmxv3nmb.onion/
 | 
					https://negromate.ddns.net o http://fyqxyftczmxv3nmb.onion/
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -35,4 +35,12 @@
 | 
				
			||||||
        <li><a href="{{ .Permalink }}">{{.Title}}</a></li>
 | 
					        <li><a href="{{ .Permalink }}">{{.Title}}</a></li>
 | 
				
			||||||
    {{ end }}
 | 
					    {{ end }}
 | 
				
			||||||
    </ul>
 | 
					    </ul>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <hr>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <ul>
 | 
				
			||||||
 | 
					    {{ range .Parent.Parent.Pages }}
 | 
				
			||||||
 | 
					        <li><a href="{{ .Permalink }}">{{.Title}}</a></li>
 | 
				
			||||||
 | 
					    {{ end }}
 | 
				
			||||||
 | 
					    </ul>
 | 
				
			||||||
{{ end}}
 | 
					{{ end}}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1,25 @@
 | 
				
			||||||
 | 
					{{ define "main" }}
 | 
				
			||||||
 | 
					    {{ .TableOfContents }}
 | 
				
			||||||
 | 
					    {{ .Content }}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    {{ range .Pages }}
 | 
				
			||||||
 | 
					        {{ partial "nodo" . }}
 | 
				
			||||||
 | 
					        {{ .Render "li" }}
 | 
				
			||||||
 | 
					    {{ end }}
 | 
				
			||||||
 | 
					{{ end }}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					{{ define "sidebar_menu" }}
 | 
				
			||||||
 | 
					    <ul>
 | 
				
			||||||
 | 
					    {{ range .Pages }}
 | 
				
			||||||
 | 
					        <li><a href="{{ .Permalink }}">{{.Title}}</a></li>
 | 
				
			||||||
 | 
					    {{ end }}
 | 
				
			||||||
 | 
					    </ul>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <hr>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <ul>
 | 
				
			||||||
 | 
					    {{ range .Parent.Pages }}
 | 
				
			||||||
 | 
					        <li><a href="{{ .Permalink }}">{{.Title}}</a></li>
 | 
				
			||||||
 | 
					    {{ end }}
 | 
				
			||||||
 | 
					    </ul>
 | 
				
			||||||
 | 
					{{ end}}
 | 
				
			||||||
| 
						 | 
					@ -44,6 +44,18 @@ aside a {
 | 
				
			||||||
    color: white;
 | 
					    color: white;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					aside ul {
 | 
				
			||||||
 | 
					    list-style-type: none;
 | 
				
			||||||
 | 
					    padding: 0.5em;
 | 
				
			||||||
 | 
					    background-color: #333;
 | 
				
			||||||
 | 
					    border-radius: 0.5em;
 | 
				
			||||||
 | 
					    margin: 0.5em;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					aside li {
 | 
				
			||||||
 | 
					    padding-bottom: 0.5em;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
main {
 | 
					main {
 | 
				
			||||||
    flex: 1;
 | 
					    flex: 1;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue