Skip to content

Commit 450b6bb

Browse files
vdyedscho
authored andcommitted
Migrate external links page to Hugo
The external links are organized in individual, partial pages, which is why this commit also adds the landing page that includes them (as shortcodes because partials can only be used inside `layouts/`, not in `content/`). Signed-off-by: Victoria Dye <[email protected]> Signed-off-by: Johannes Schindelin <[email protected]>
1 parent db1650f commit 450b6bb

File tree

5 files changed

+23
-2
lines changed

5 files changed

+23
-2
lines changed

content/doc/ext/_index.html

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
section: "documentation"
3+
subsection: "external-links"
4+
title: "Git - External Links"
5+
url: /doc/ext.html
6+
aliases:
7+
- /doc/ext/index.html
8+
---
9+
10+
<div id='main'>
11+
<h1>External Links</h1>
12+
13+
{{< external/tutorials >}}
14+
15+
{{< external/books >}}
16+
17+
{{< external/videos >}}
18+
19+
{{< external/courses >}}
20+
21+
</div>

app/views/doc/_ext_tutorials.erb renamed to layouts/shortcodes/external/tutorials.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ <h4><a href="https://www.packtpub.com/web-development/learn-git-3-hours-video">L
7878
<p class='description'>
7979
Build powerful and effective projects using Git Version Control Systems.
8080
</p>
81-
</li>
81+
</li>
8282
<li>
8383
<h4><a href="https://www.python4data.science/en/latest/productive/git/index.html">Git for Data Science</a></h4>
8484
<p class='description'>
@@ -124,7 +124,7 @@ <h4><a href="https://www.packtpub.com/web-development/git-and-version-control-vi
124124
<p class='description'>
125125
Learn the basics of Git and Version Control through detailed and easy to follow steps.
126126
</p>
127-
</li>
127+
</li>
128128
</ul>
129129
</div>
130130
</div>

0 commit comments

Comments
 (0)