File tree Expand file tree Collapse file tree 3 files changed +13
-7
lines changed
common-theme/layouts/partials Expand file tree Collapse file tree 3 files changed +13
-7
lines changed Original file line number Diff line number Diff line change 1
- {{ $BaseURL := .Page.Parent.Permalink }}
2
- < a class ="c-card " href ="{{ relURL .Page.RelPermalink }} ">
1
+ {{ $url := relURL .Page.RelPermalink }}
2
+ {{ if .Page.Params.external_url }}
3
+ {{ $url = .Page.Params.external_url }}
4
+ {{ end }}
5
+
6
+ < a class ="c-card " href ="{{ $url }} ">
3
7
< h3 class ="c-card__title "> {{ .Name }}</ h3 >
4
8
{{ with .Page.Description }}
5
9
< p class ="c-card__description "> {{ . }}</ p >
Original file line number Diff line number Diff line change
1
+ +++
2
+ title = ' Piscine'
3
+ description = ' In teams and on your own, build working software with tests. Explain your work to others.'
4
+ emoji = ' 🐠'
5
+ menu = [' next steps' ]
6
+ external_url = " https://piscine.codeyourfuture.io"
7
+ +++
Original file line number Diff line number Diff line change @@ -4,11 +4,6 @@ baseURL = "https://programming.codeyourfuture.io/"
4
4
[module ]
5
5
[[module .imports ]]
6
6
path = " github.com/CodeYourFuture/curriculum/org-cyf-theme"
7
- [[module .imports ]]
8
- path = " github.com/CodeYourFuture/curriculum/org-cyf-piscine"
9
- [[module .imports .mounts ]]
10
- source = " content"
11
- target =" content/piscine"
12
7
[[module .imports ]]
13
8
path = " github.com/CodeYourFuture/curriculum/org-cyf-guides"
14
9
[[module .imports .mounts ]]
You can’t perform that action at this time.
0 commit comments