Skip to content
Snippets Groups Projects
Unverified Commit 36b59cfa authored by Arnaud Levy's avatar Arnaud Levy Committed by GitHub
Browse files

Use path not slug (#885)

parent d60c0b28
No related branches found
No related tags found
No related merge requests found
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
{{ $options := .options }} {{ $options := .options }}
<div class="grid organizations {{- if $options.summary }} with-summaries {{- end }}"> <div class="grid organizations {{- if $options.summary }} with-summaries {{- end }}">
{{- range .organizations }} {{- range .organizations }}
{{ if .slug }} {{ if .path }}
{{ with site.GetPage (printf "/organizations/%s" .slug ) }} {{ with site.GetPage .path }}
{{ template "organization" dict {{ template "organization" dict
"title" .Title "title" .Title
"url" .Permalink "url" .Permalink
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment