7
1
mirror of https://gitlab.com/ansol/web-ansol.org.git synced 2024-11-22 06:11:30 +00:00

Move "portateis livres" to iniciativas

Also, only show `featured: true` iniciativas on the homepage.
This commit is contained in:
Hugo Peixoto 2021-11-09 14:59:04 +00:00
parent 12f7114fd1
commit 05ad1e08ae
6 changed files with 4 additions and 7 deletions

View File

@ -1,6 +1,7 @@
---
layout: article
title: Diz Não ao DRM
featured: true
---
[Diz Não ao DRM](https://drm-pt.info/)

View File

@ -1,13 +1,12 @@
---
categories: []
metadata:
slide:
- slide_value: 0
node_id: 107
layout: page
title: Monitorização do RNID
created: 1353368583
date: 2012-11-19
featured: true
aliases:
- "/node/107/"
- "/normasabertas/rnid/"

View File

@ -1,12 +1,8 @@
---
categories: []
metadata:
slide:
- slide_value: 0
node_id: 406
layout: page
title: Portáteis Livres
created: 1458730476
date: 2016-03-23
aliases:
- "/node/406/"

View File

@ -5,6 +5,7 @@ layout: article
title: Dinheiro Público? Código Público!
created: 1505338768
date: 2017-09-13
featured: true
aliases:
- "/article/521/"
- "/node/521/"

View File

@ -1 +0,0 @@
oi

View File

@ -51,6 +51,7 @@
<h2 class="pull-header body-width">Iniciativas</h2>
<ul class='campaigns-list body-width'>
{{ $query := where site.RegularPages "Type" "iniciativas" }}
{{ $query := where $query "Params.featured" true }}
{{ $query = first 3 $query }}
{{ range $post := $query }}