Skip to content

Commit

Permalink
Attempting to fix theme
Browse files Browse the repository at this point in the history
- Removed front matter section from SCSS
- Added alternative URL to README (.tk domains are not functioning)
- Changed base URL in _config.yml
- Added base url to references
  • Loading branch information
uoy-jb2501 committed May 28, 2024
1 parent b5dde7e commit ce4726e
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# Public-Facing Website
[link to website](http://www.mario.shardsoftware.tk/)
Link to website: [mario.shardsoftware.tk](http://www.mario.shardsoftware.tk/)

Alternative link: [eng1-team-29.github.io](https://eng1-team-29.github.io/Assessment-2-Website/)
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ title: Shard Software
description: ENG1 Team 29
markdown: kramdown
theme: jekyll-theme-hacker
url: "https://www.mario.shardsoftware.tk"
baseurl: https://eng1-team-29.github.io/Assessment-2-Website
plugins:
- jekyll-sitemap

Expand Down
2 changes: 1 addition & 1 deletion _includes/navigation.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<nav>
<ul>
{% for item in site.data.menu %}
<li><a class="{% if page.url == item.link %}active{% endif %}" href="{{item.link}}">{{item.title}}</a></li>
<li><a class="{% if page.url == item.link %}active{% endif %}" href="{{ site.baseurl }}/{{item.link}}">{{item.title}}</a></li>
{% endfor %}
</ul>
</nav>
4 changes: 2 additions & 2 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Shard Software</title>
<link rel="icon" type="image/x-icon" href="/img/favicon.ico">
<link rel="stylesheet" href="/assets/css/style.css">
<link rel="icon" type="image/x-icon" href="{{ site.baseurl }}/img/favicon.ico">
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/style.css">

{% seo %}
</head>
Expand Down
3 changes: 0 additions & 3 deletions assets/css/style.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
---
---

@import "{{ site.theme }}";


Expand Down

0 comments on commit ce4726e

Please sign in to comment.