Skip to content

Commit

Permalink
Update LecturesByDate.md
Browse files Browse the repository at this point in the history
adding the top index table in post-date page
  • Loading branch information
qiyanjun committed Mar 13, 2024
1 parent 2992007 commit 866ee1c
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion LecturesByDate.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,42 @@ desc: "2024 Spring UVa CS Machine Learning Lectures Organized by Given Order"

<p><a name="topPage"></a></p>



<table id="datatab3" summary="Table of posts" border="1">
<tr>
<h3><b>
<th>Index</th>
<th>Title</th>
</b>
</h3>
</tr>


{% assign counter = 1 %}
{% assign sorted = site.contents %}
{% for post in sorted %}
<tr>
<td>{{ counter }}</td>
<td><a href="#{{ counter }}">{{ post.title }}
</a></td>
</tr>

{% assign counter=counter | plus:1 %}
{% endfor %}
</table>


<div class="posts">

---- ----
{% assign counter = 1 %}
{% assign sorted = site.contents %}
{% for post in sorted %}


<div class="post">
<h1 class="post-title">
<h1 class="post-title"><a name="{{ counter }}"></a>
<a href="{{ site.baseurl }}{{ post.url }}">
{{ post.title }}
</a>
Expand Down Expand Up @@ -64,6 +92,7 @@ desc: "2024 Spring UVa CS Machine Learning Lectures Organized by Given Order"
</div>
<hr>

{% assign counter=counter | plus:1 %}
{% endfor %}
</div>

Expand Down

0 comments on commit 866ee1c

Please sign in to comment.