Skip to content

Commit e540213

Browse files
committed
adding stars and forks count
Signed-off-by: Vanessa Sochat <[email protected]>
1 parent b6ff26e commit e540213

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

_docs/example-page.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ docs/
2525
You can provide the relative path to the file, like `subfolder/example-page.md`
2626
and Jekyll will handle parsing it. For example:
2727

28-
- [here is that link](subfolder/example-page.md)
28+
- [here is that link](subfolder/example-page)
2929

3030
And {% include doc.html name="here" path="subfolder/example-page" %} is the same link,
3131
but generated with the include statement:

_docs/getting-started.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,14 +77,20 @@ getting started page for sherlock:
7777
{% raw %}[example](clusters/sherlock/getting-started.md){% endraw %}
7878
```
7979

80-
[Here](example-page.md) is an example link to a relative path of a file (`example-page.md`)
80+
[Here](example-page) is an example link to a relative path of a file (`example-page.md`)
8181
in the same directory, and from that page you can test linking to a subfoldr.
8282
In the case of not having a subfolder, we could write the link out directly:
8383

8484
```
8585
{% raw %}[example]({{ site.baseurl }}/docs/clusters/sherlock/getting-started.md){% endraw %}
8686
```
8787

88+
or just put the relative path:
89+
90+
```
91+
{% raw %}[Here](example-page){% endraw %}
92+
```
93+
8894
or better, there is a shortand trick! We can use the provided "includes"
8995
template to do the same based on the path to create a link:
9096

0 commit comments

Comments
 (0)