Skip to content

Commit e7d64e9

Browse files
committed
FIX: css files are not loaded in GitHub Pages env
1 parent 40b0a87 commit e7d64e9

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
baseurl: "/paper-templates-for-github-pages"

_layouts/default.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<title>{{ page.paper-title }}</title>
7-
<link rel="stylesheet" href="/assets/css/style.css">
8-
<link rel="stylesheet" href="/assets/css/columns.css">
7+
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/style.css">
8+
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/columns.css">
99

1010
{% include mathjax_support.html %}
1111
</head>

0 commit comments

Comments
 (0)