Skip to content

Commit

Permalink
update defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
Niklas Buschmann committed Dec 1, 2020
1 parent e07b607 commit 12e85d8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
6 changes: 3 additions & 3 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ date_format: "%B %d, %Y"

# Layout

sidebar: false # show a sidebar instead of the usual header
show_social: true # show site description and social links in the footer
show_excerpts: false # show article excerpts on the home page
show_social: false # show site description and social links in the footer
show_frame: true # add gray frame to the site
show_frame: false # adds a gray frame to the site
show_sidebar: false # show a sidebar instead of the usual header

# Menu

Expand Down
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
{% endif %}
{% if site.comments.disqus_shortname and page.layout == "post" %}<script src="//{{ site.comments.disqus_shortname }}.disqus.com/embed.js" async></script>{% endif %}
{% if site.comments.isso_domain and page.layout == "post" %}<script data-isso="http://{{ site.comments.isso_domain }}" src="//{{ site.comments.isso_domain }}/js/embed.min.js"></script>{% endif %}
{% if site.sidebar %}{% include sidebar.html %}{% endif %}
{% if site.show_sidebar or site.sidebar %}{% include sidebar.html %}{% endif %}

{% if site.navigation %}
{% assign pages = site.navigation %}
Expand Down
3 changes: 2 additions & 1 deletion _posts/2017-01-01-advanced-examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@
title: "Advanced examples"
mathjax: true
layout: post
categories: media
---

![Swiss Alps](https://user-images.githubusercontent.com/4943215/55412536-edbba180-5567-11e9-9c70-6d33bca3f8ed.jpg)


## MathJax

You can enable MathJax by setting `mathjax: true` on a page or globally in the `_config.yml`. Some examples:
Expand All @@ -22,7 +24,6 @@ The [Schrödinger equation](https://en.wikipedia.org/wiki/Schr%C3%B6dinger_equat

$$ i\hbar\frac{\partial}{\partial t} \Psi(\mathbf{r},t) = \left [ \frac{-\hbar^2}{2\mu}\nabla^2 + V(\mathbf{r},t)\right ] \Psi(\mathbf{r},t) $$


## Code

Embed code by putting `{{ "{% highlight language " }}%}` `{{ "{% endhighlight " }}%}` blocks around it. Adding the parameter `linenos` will show source lines besides the code.
Expand Down
2 changes: 0 additions & 2 deletions _posts/2017-02-01-markdown-examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ title: "Markdown examples"
layout: post
---

![Laptop](https://user-images.githubusercontent.com/4943215/74586452-bcb15780-4fe7-11ea-94a8-7a9b52bf04b3.jpeg)

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius, turpis et commodo pharetra, est eros bibendum elit, nec luctus magna felis sollicitudin mauris. Integer in mauris eu nibh euismod gravida. Duis ac tellus et risus vulputate vehicula. Donec lobortis risus a elit.
Expand Down

0 comments on commit 12e85d8

Please sign in to comment.