From bd6ed087acd87e7f73777aadce3ecd9473f9cbe0 Mon Sep 17 00:00:00 2001 From: dev-onejun Date: Thu, 7 Nov 2024 06:22:48 +0900 Subject: [PATCH] FIX: a site title broke --- README.md | 2 +- _includes/{header.html => main.html} | 2 +- _layouts/default.html | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) rename _includes/{header.html => main.html} (93%) diff --git a/README.md b/README.md index aabdba2..cef9961 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ --- two-columns: true -paper-title: "

Approximation of Computational Cost: A Review of Algorithm Design and Analysis

" +paper-title: "Approximation of Computational Cost: A Review of Algorithm Design and Analysis" author: ' $$ \mathbf{\text{Wonjun Park}} \\ diff --git a/_includes/header.html b/_includes/main.html similarity index 93% rename from _includes/header.html rename to _includes/main.html index d311610..f4fd380 100644 --- a/_includes/header.html +++ b/_includes/main.html @@ -1,5 +1,5 @@ {% if page.paper-title %} - {{ page.paper-title }} +

{{ page.paper-title }}

{% endif %} {% if page.author %} diff --git a/_layouts/default.html b/_layouts/default.html index d6f6147..7d5c082 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -3,7 +3,7 @@ - {{ page.title }} + {{ page.paper-title }} {% include mathjax_support.html %} @@ -14,11 +14,11 @@ {% if page.site-title %}

{{ site.title }}

{% endif %} - - {% include header.html %}
+ {% include main.html %} + {% if page.two-columns %}
{{ content }}