Skip to content

Commit

Permalink
try to fix internal links
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonspark committed Nov 20, 2023
1 parent 1ae83b4 commit 27f9b68
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
2 changes: 1 addition & 1 deletion sass/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -394,5 +394,5 @@ hr {
}

.lecture-entry .lecture-entry-link {
height: calc(10%);
height: calc(40%);
}
24 changes: 11 additions & 13 deletions templates/shortcodes/lecture_entry.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,27 @@
<div class="lecture-entry">
<div class="image-column">
<img
src="{{lecture.name}}/lecture{{lecture.number}}.png",
src="/{{lecture.name}}/lecture{{lecture.number}}.png",
style="
margin-bottom: 10px;
margin-top: 10px;
"/>
</div>
<div class="info-column">
<div class="flexy-thing">
<div>
<div class="lecture-entry-title">
<span class="lecture-entry-title-span">
<a href="{{lecture.name}}/">
{# <span style="color:rgb(136, 105, 223)">Lecture {{lecture.number}}: </span>
<span style="color:{{lecture.color}}">{{lecture.fullname}}</span> #}
<span style="color:rgb(136, 105, 223)">Lecture {{lecture.number}}: {{lecture.fullname}}</span>
{# <span style="color:{{lecture.color}}">Lecture {{lecture.number}}: {{lecture.fullname}}</span> #}
</a>
</span>
</div>
<div class="lecture-entry-title">
<span class="lecture-entry-title-span">
<a href="/{{lecture.name}}/">
{# <span style="color:rgb(136, 105, 223)">Lecture {{lecture.number}}: </span>
<span style="color:{{lecture.color}}">{{lecture.fullname}}</span> #}
<span style="color:rgb(136, 105, 223)">Lecture {{lecture.number}}: {{lecture.fullname}}</span>
{# <span style="color:{{lecture.color}}">Lecture {{lecture.number}}: {{lecture.fullname}}</span> #}
</a>
</span>
</div>
{# <div class="lecture-entry-description">
a tagline or something goes here
</div> #}
</div>
<div class="lecture-entry-quote">
<span style="color:{{lecture.color}}">"{{lecture.quote}}"</span>
</div>
Expand Down

0 comments on commit 27f9b68

Please sign in to comment.