Skip to content

Commit

Permalink
refactor: Note html
Browse files Browse the repository at this point in the history
  • Loading branch information
jstoobysmith committed Feb 4, 2025
1 parent 5fe9eea commit ff6c895
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions docs/CuratedNotes/PerturbationTheory.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
---
layout: default
---
<style>
body {
color: black;
}
</style>

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/default.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>

Expand Down Expand Up @@ -31,10 +37,10 @@
<p>
{% for entry in site.data.perturbationTheory.parts %}
{% if entry.type == "h1" %}
{{ entry.sectionNo }}. {{ entry.content }}<br>
<a href="#section-{{ entry.sectionNo }}" style="color: #2c5282;">{{ entry.sectionNo }}. {{ entry.content }}</a><br>
{% endif %}
{% if entry.type == "h2" %}
- {{ entry.sectionNo }}. {{ entry.content }}<br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="#section-{{ entry.sectionNo }}" style="color: #2c5282;">{{ entry.sectionNo }}. {{ entry.content }}</a><br>
{% endif %}
{% endfor %}
</p>
Expand All @@ -43,10 +49,10 @@
<br>
{% for entry in site.data.perturbationTheory.parts %}
{% if entry.type == "h1" %}
<h1>{{ entry.sectionNo }}. {{ entry.content }}</h1>
<h1 id="section-{{ entry.sectionNo }}">{{ entry.sectionNo }}. {{ entry.content }}</h1>
{% endif %}
{% if entry.type == "h2" %}
<h2>{{ entry.sectionNo }}. {{ entry.content }}</h2>
<h2 id="section-{{ entry.sectionNo }}">{{ entry.sectionNo }}. {{ entry.content }} </h2>
{% endif %}
{% if entry.type == "p" %}
<p>{{ entry.content }}</p>
Expand Down

0 comments on commit ff6c895

Please sign in to comment.