Skip to content

Commit

Permalink
#12 Prepend {{ site.github.url }} to posts url
Browse files Browse the repository at this point in the history
  • Loading branch information
LeNPaul committed May 13, 2021
1 parent 9b1f478 commit f619e19
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ Or install it yourself as:
The following sections describe usage instructions for this Jekyll theme,including available layouts, includes, sass and/or assets.
#### Home
The `_layouts/home.html` layout defines the home page for this theme. An introduction to your research group or to yourself can be provided, along with a list of featured publications. There is also a section for providing any updates through posts placed in the `_posts` directory.

#### People

The `_layouts/people.html` layout can be used to showcase and describe people in your research group. People are defined in the `_data/settings.yml` file, and markdown pages for each person with the `_layouts/page.html` layout can be placed in the `people` directory.
Expand Down
2 changes: 1 addition & 1 deletion _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ <h3 class="fw-bold">Research</h3>
<div class="col-md-12">
<h3 class="fw-bold border-bottom pb-3 mb-5">Updates</h3>
{% for post in site.posts %}
<p><a href="{{ post.url }}">{{ post.title }}</a> - {{ post.date | date: "%B %-d, %Y" }}</p>
<p><a href="{{ site.github.url }}/{{ post.url }}">{{ post.title }}</a> - {{ post.date | date: "%B %-d, %Y" }}</p>
{% endfor %}
</div>
</div>

0 comments on commit f619e19

Please sign in to comment.