diff --git a/content/reports/_index.md b/content/reports/_index.md index af6748b69..3f26e44e3 100644 --- a/content/reports/_index.md +++ b/content/reports/_index.md @@ -1,4 +1,15 @@ --- title: Research reports +submenu: + - url: "/reports/" + name: "All Reports" + - url: "/reports/circumvention/" + name: "Circumvention" + - url: "/reports/social-media-im/" + name: "Social Media & IMs" + - url: "/reports/news-media/" + name: "News Media" + - url: "/reports/human-rights/" + name: "Human Rights" description: Read our research reports investigating internet censorship worldwide --- diff --git a/content/reports/circumvention/_index.md b/content/reports/circumvention/_index.md new file mode 100644 index 000000000..635c5c208 --- /dev/null +++ b/content/reports/circumvention/_index.md @@ -0,0 +1,16 @@ +--- +title: Research reports - Circumvention +submenu: + - url: "/reports/" + name: "All Reports" + - url: "/reports/circumvention/" + name: "Circumvention" + - url: "/reports/social-media-im/" + name: "Social Media & IMs" + - url: "/reports/news-media/" + name: "News Media" + - url: "/reports/human-rights/" + name: "Human Rights" +description: Read our research reports investigating internet censorship worldwide +tags: ["theme-circumvention"] +--- \ No newline at end of file diff --git a/content/reports/human-rights/_index.md b/content/reports/human-rights/_index.md new file mode 100644 index 000000000..bd00ee3d0 --- /dev/null +++ b/content/reports/human-rights/_index.md @@ -0,0 +1,16 @@ +--- +title: Research reports - Human Rights +submenu: + - url: "/reports/" + name: "All Reports" + - url: "/reports/circumvention/" + name: "Circumvention" + - url: "/reports/social-media-im/" + name: "Social Media & IMs" + - url: "/reports/news-media/" + name: "News Media" + - url: "/reports/human-rights/" + name: "Human Rights" +description: Read our research reports investigating internet censorship worldwide +tags: ["theme-human_rights"] +--- \ No newline at end of file diff --git a/content/reports/news-media/_index.md b/content/reports/news-media/_index.md new file mode 100644 index 000000000..b0ff4c7b7 --- /dev/null +++ b/content/reports/news-media/_index.md @@ -0,0 +1,16 @@ +--- +title: Research reports - News Media +submenu: + - url: "/reports/" + name: "All Reports" + - url: "/reports/circumvention/" + name: "Circumvention" + - url: "/reports/social-media-im/" + name: "Social Media & IMs" + - url: "/reports/news-media/" + name: "News Media" + - url: "/reports/human-rights/" + name: "Human Rights" +description: Read our research reports investigating internet censorship worldwide +tags: ["theme-news_media"] +--- \ No newline at end of file diff --git a/content/reports/social-media-im/_index.md b/content/reports/social-media-im/_index.md new file mode 100644 index 000000000..b045f1e64 --- /dev/null +++ b/content/reports/social-media-im/_index.md @@ -0,0 +1,16 @@ +--- +title: Research reports - Social Media & IM +submenu: + - url: "/reports/" + name: "All Reports" + - url: "/reports/circumvention/" + name: "Circumvention" + - url: "/reports/social-media-im/" + name: "Social Media & IMs" + - url: "/reports/news-media/" + name: "News Media" + - url: "/reports/human-rights/" + name: "Human Rights" +description: Read our research reports investigating internet censorship worldwide +tags: ["theme-social_media", "theme-im"] +--- \ No newline at end of file diff --git a/layouts/section/reports.html b/layouts/section/reports.html index 96146dbb5..8481ab6e5 100644 --- a/layouts/section/reports.html +++ b/layouts/section/reports.html @@ -1,27 +1,48 @@ +{{ define "css" }} +{{ partial "css-tailwind.html" . }} +{{ end }} + +{{ define "navbar" }} +{{ partial "navbar-tailwind.html" . }} +{{ end }} + {{ define "main" }} +{{ $tags := .Params.tags }} -
-

{{ .Title }}

-
- {{ range .Site.Taxonomies.categories.report }} +{{ $reports := .Site.Taxonomies.categories.report }} +{{ $pages := $reports }} +{{ with $tags }} + {{ $pages = where $reports ".Params.tags" "intersect" $tags }} +{{ end }} -
-
+{{ end }} +{{ define "footer" }} +{{ partial "footer-tailwind.html" . }} {{ end }}