|
26 | 26 | {{ if eq .Parent.Title "Install Guides"}} |
27 | 27 | {{$title = printf "%s: Install Guide" .Title }} |
28 | 28 | {{$desc = printf "Get up and running quickly with the most common tool settings with code snippets, using this %s installation guide." .Title}} |
29 | | - {{$author = .Params.author_primary}} |
| 29 | + {{$author = .Params.author}} |
30 | 30 | <!-- Install guide subpages in multiinstall --> |
31 | 31 | {{else}} |
32 | 32 | {{$title = printf "%s: Install Guide" .Title }} |
33 | 33 | {{$desc = printf "Get up and running quickly with the most common tool settings with code snippets, using this %s installation guide." ($.Site.GetPage (path.Dir (path.Dir .RelPermalink))).Title}} |
34 | | - {{$author = ($.Site.GetPage (path.Dir (path.Dir .RelPermalink))).Params.author_primary}} |
| 34 | + {{$author = ($.Site.GetPage (path.Dir (path.Dir .RelPermalink))).Params.author}} |
35 | 35 | {{end}} |
36 | 36 | {{else}} |
37 | 37 | <!-- Learning path subpages --> |
38 | 38 | {{$title = printf "%s: %s" ($.Site.GetPage (path.Dir (path.Dir .RelPermalink))).Title .Title}} |
39 | 39 | {{$desc = ($.Site.GetPage (path.Dir (path.Dir .RelPermalink))).Params.who_is_this_for}} |
40 | | - {{$author = ($.Site.GetPage (path.Dir (path.Dir .RelPermalink))).Params.author_primary}} |
| 40 | + {{$author = ($.Site.GetPage (path.Dir (path.Dir .RelPermalink))).Params.author}} |
41 | 41 | {{end}} |
42 | 42 | {{else if $is_content}} |
43 | 43 | {{if eq .Layout "installtoolsall"}} |
44 | 44 | <!-- Install guide _index.md page --> |
45 | 45 | {{$title = printf "%s: Install Guide" .Title}} |
46 | 46 | {{$desc = printf "Get up and running quickly with the most common tool settings with code snippets, using this %s installation guide." .Title}} |
47 | | - {{$author = .Params.author_primary}} |
| 47 | + {{$author = .Params.author}} |
48 | 48 | {{else}} |
49 | 49 | <!-- Learning path _index.md page --> |
50 | 50 | {{$title = .Title}} |
51 | 51 | {{$desc = .Params.who_is_this_for}} |
52 | | - {{$author = .Params.author_primary}} |
| 52 | + {{$author = .Params.author}} |
53 | 53 | {{end}} |
54 | 54 | {{end}} |
55 | 55 |
|
|
0 commit comments