Skip to content

Commit

Permalink
please
Browse files Browse the repository at this point in the history
  • Loading branch information
ruben-poghosyan committed Mar 18, 2024
1 parent 131501c commit 3d91601
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 7 deletions.
31 changes: 31 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<meta charset="utf-8">

{% include seo.html %}

{% unless site.atom_feed.hide %}
<link href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ '/feed.xml' | relative_url }}{% endif %}" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed">
{% endunless %}

<!-- https://t.co/dKP3o1e -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<script>
document.documentElement.className = document.documentElement.className.replace(/\bno-js\b/g, '') + ' js ';
</script>

<!-- For all browsers -->
<link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url }}">
<link rel="preload" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5/css/all.min.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
<noscript><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5/css/all.min.css"></noscript>

{% if site.head_scripts %}
{% for script in site.head_scripts %}
<script src="{{ script | relative_url }}"></script>
{% endfor %}
{% endif %}

{% for post in site.posts %}
{% if post.use_math %}
{% include mathjax-custom.html %}
{% endif %}
{% endfor %}
8 changes: 1 addition & 7 deletions _includes/scripts.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,4 @@
{% for script in site.after_footer_scripts %}
<script src="{{ script | relative_url }}"></script>
{% endfor %}
{% endif %}

{% for post in site.posts %}
{% if post.use_math %}
{% include mathjax-custom.html %}
{% endif %}
{% endfor %}
{% endif %}

0 comments on commit 3d91601

Please sign in to comment.