Skip to content

Commit

Permalink
adjusted base url
Browse files Browse the repository at this point in the history
  • Loading branch information
AydenTheKinch committed Aug 21, 2024
1 parent 6466be6 commit 5594bc2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<div class="trigger">
{%- for slideshow in site.data.settings -%}
{%- if slideshow[1].url -%}
<a class="page-link" href="{{site.url}}/{{ slideshow[1].url }}">{{ slideshow[1].name | escape }}</a>
<a class="page-link" href="{{site.baseurl}}/{{ slideshow[1].url }}">{{ slideshow[1].name | escape }}</a>
{%- endif -%}
{%- endfor -%}
<a class="page-link" href="https://github.com/UBC-LFS/dairy-digital-signage">Admin (GitHub)</a>
Expand Down
2 changes: 1 addition & 1 deletion _layouts/fullscreen.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="/assets/css/slideshow_style.css">
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/slideshow_style.css">
</head>
<body>
{{ content }}
Expand Down
2 changes: 1 addition & 1 deletion _layouts/slideshow.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@
<script>
var interval = {{ site.data.settings[page.screen].update }} * 1000;
</script>
<script src="/assets/js/change_slides.js">
<script src="{{ site.baseurl }}/assets/js/change_slides.js">
</script>
2 changes: 1 addition & 1 deletion index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ layout: home
<ul style="list-style-type: none; padding: 0;">
{% for view in site.data.settings %}
<li style="margin-bottom: 20px; padding: 10px; border: 1px solid #ccc; box-shadow: 0 2px 4px rgba(0,0,0,0.15);">
<a href= "{{site.url}}/{{ view[1].url }}" style="text-decoration: none; color: inherit; display: block">
<a href= "{{site.baseurl}}/{{ view[1].url }}" style="text-decoration: none; color: inherit; display: block">
<strong>Name:</strong> {{ view[1].name }}
<br>
<strong>Update Interval:</strong> {{ view[1].update }} seconds
Expand Down

0 comments on commit 5594bc2

Please sign in to comment.