Skip to content

Commit 20d4677

Browse files
committed
feat(shortcodes): nim,pylib,url/nim
1 parent 2933bd3 commit 20d4677

File tree

4 files changed

+5
-1
lines changed

4 files changed

+5
-1
lines changed

content/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ keywords = ['Nim', 'Python', 'Library', 'nim-lang', 'pylib', 'meta-programming'
99

1010
***Write Python in [Nim][]!***
1111

12-
[Nim]: https://nim-lang.org
12+
[Nim]: {{<url/nim>}}
1313
[Python]: https://python.org
1414

1515
Python-like operators/functions and libraries as well as syntax sugars

layouts/shortcodes/nim.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{{markdownify "**`Nim`**"}}

layouts/shortcodes/pylib.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{{markdownify "***`NimPyLib`***"}}

layouts/shortcodes/url/nim.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
{{- $pag := cond (eq (len .Params) 0) "" (.Get 0)}}
2+
{{- print "https://nim-lang.org/" $pag }}

0 commit comments

Comments
 (0)