Skip to content

Commit

Permalink
FIX: a site title broke
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-onejun committed Nov 6, 2024
1 parent 19e8f85 commit bd6ed08
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
two-columns: true
paper-title: "<h1>Approximation of Computational Cost: A Review of Algorithm Design and Analysis</h1>"
paper-title: "Approximation of Computational Cost: A Review of Algorithm Design and Analysis"
author: '
$$
\mathbf{\text{Wonjun Park}} \\
Expand Down
2 changes: 1 addition & 1 deletion _includes/header.html → _includes/main.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% if page.paper-title %}
{{ page.paper-title }}
<h1>{{ page.paper-title }}</h1>
{% endif %}

{% if page.author %}
Expand Down
6 changes: 3 additions & 3 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ page.title }}</title>
<title>{{ page.paper-title }}</title>
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/style.css">

{% include mathjax_support.html %}
Expand All @@ -14,11 +14,11 @@
{% if page.site-title %}
<h1>{{ site.title }}</h1>
{% endif %}

{% include header.html %}
</header>

<main>
{% include main.html %}

{% if page.two-columns %}
<div class="multi-column-content" style="column-count: 2; column-gap: 40px; column-rule: 1px solid #ccc; max-width: 1000px; margin: 0 auto; padding: 20px;">
{{ content }}
Expand Down

0 comments on commit bd6ed08

Please sign in to comment.