Skip to content

Commit 288fb8f

Browse files
committed
Replace /blogs/ with /
1 parent db0c620 commit 288fb8f

7 files changed

Lines changed: 17 additions & 13 deletions

File tree

_layouts/default.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
<meta charset='utf-8'>
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
66
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
7-
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}" media="screen" type="text/css">
8-
<link rel="stylesheet" href="{{ '/assets/css/print.css' | relative_url }}" media="print" type="text/css">
7+
<link rel="preload" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}" as="style" onload="this.onload=null;this.rel='stylesheet'">
8+
<noscript><link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}"></noscript>
9+
<link rel="stylesheet" href="{{ '/assets/css/print.css' | relative_url }}" media="print">
910

1011
<!--[if lt IE 9]>
1112
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
@@ -60,7 +61,7 @@ <h1>Categories</h1>
6061
{% for category in unique_categories %}
6162
{% if category != "" %}
6263
<li>
63-
<a href="{{ site.baseurl }}/blogs/categories/#{{ category | slugify }}">{{ category }}</a>
64+
<a href="{{ site.baseurl }}/categories/#{{ category | slugify }}">{{ category }}</a>
6465
</li>
6566
{% endif %}
6667
{% endfor %}

_layouts/post.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
<meta charset='utf-8'>
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
66
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
7-
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}" media="screen" type="text/css">
7+
<link rel="preload" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}" as="style" onload="this.onload=null;this.rel='stylesheet'">
8+
<noscript><link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}"></noscript>
89
<link rel="stylesheet" href="{{ '/assets/css/print.css' | relative_url }}" media="print" type="text/css">
910

1011
<!--[if lt IE 9]>
@@ -48,15 +49,15 @@ <h2>{{ site.description | default: site.github.project_tagline }}</h2>
4849
{% if page.categories %}
4950
<strong>Tags:</strong>
5051
{% for category in page.categories %}
51-
<a href="{{ site.baseurl }}/blogs/categories/#{{ category | slugify }}">{{ category }}</a>{% unless forloop.last %}, {% endunless %}
52+
<a href="{{ site.baseurl }}/categories/#{{ category | slugify }}">{{ category }}</a>{% unless forloop.last %}, {% endunless %}
5253
{% endfor %}
5354
{% endif %}
5455
</p>
5556
{% endif %}
5657

5758
{{ content }}
5859

59-
<a href="/blogs">Read more posts.</a>
60+
<a href="/">Read more posts.</a>
6061
</main>
6162
</div>
6263
</div>

_posts/2025-05-19-my-first-post.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ layout: post
33
title: This is my first post
44
description: It's just my first post
55
date: 2025-05-19
6-
permalink: /blogs/my-first-post/
6+
permalink: /my-first-post/
77
categories: hello-world
88
---
99

assets/css/style.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
---
2+
---
3+
14
@import "{{ site.theme }}";
25

36
.emoji {
@@ -8,3 +11,7 @@
811
float: none;
912
width: 100%;
1013
}
14+
15+
li {
16+
font-size: 16px;
17+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: default
33
title: Categories
4-
permalink: /blogs/categories/
4+
permalink: /categories/
55
---
66

77
{% comment %}Collect all unique categories from posts{% endcomment %}

index.html

Lines changed: 0 additions & 5 deletions
This file was deleted.
File renamed without changes.

0 commit comments

Comments
 (0)