Skip to content

Commit

Permalink
Merge branch 'updates' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisbrookner authored May 28, 2024
2 parents 578ce2b + fb21eaa commit 05d48d2
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _data/navbar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
- name: Publications
link: /publications.html
- name: Installation
link: /installation.html
link: /installation.html
9 changes: 8 additions & 1 deletion _layouts/base_page.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,14 @@

<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<!-- Core theme JS-->
<script src="assets/js/scripts.js"></script>
<script src="/assets/js/scripts.js"></script>

<!-- Use MathJax, only when requested in the frontmatter -->
{% if page.usemathjax %}
<script type="text/javascript" async
src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
{% endif %}
</body>
</html>

Expand Down
8 changes: 8 additions & 0 deletions _layouts/post.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
layout: content_page
---
<h1>{{ page.title }}</h1>
<h3>{{ page.subtitle }}</h3>
<p>{{ page.date | date_to_string }}</p>

{{ content }}
17 changes: 17 additions & 0 deletions _posts/2023-01-18-Example-Post.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
layout: post
title: Example post
subtitle: Subtitle should also render underneath, on the page and on the article list
usemathjax: true
---

This is the post itself, written in markdown. **Bold** and *italics* text are supported, as is `inline code`.
Even code blocks!
```python
import numpy as np

np.zeros((5,5))

```
mathjax works!
$$\Sigma \sim \mathrm{Normal}\left(\mu, \sigma\right)$$
16 changes: 16 additions & 0 deletions blog.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
layout: content_page
title: Blog
---

<h1> Reciprocal Space Station Blog </h1>
A place for explanations and elaborations from the RS-station astronauts.

<hr>

{% for post in site.posts %}
<h2><a href="{{ post.url }}">{{ post.title }}</a></h2>
{{ post.subtitle }}
<br>
<br>
{% endfor %}

0 comments on commit 05d48d2

Please sign in to comment.