Skip to content

Commit 619bb2d

Browse files
committed
Minor fixes
1 parent 4ce1378 commit 619bb2d

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

_config.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
# Site settings
33
# -----------------------------------------------------------------------------
44

5-
title: "You R. Long Last Name's personal website"
5+
title: blank # the website title (if blank, full name will be used instead)
66
first_name: You
77
middle_name: R.
8-
last_name: Long Last Name
8+
last_name: (Long Last) Name
99
email: you@example.com
1010
description: > # this means to ignore newlines until "url:"
1111
A simple, whitespace theme for academics. Based on [*folio](https://github.com/bogoli/-folio) design.

_includes/head.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
33
<meta http-equiv="X-UA-Compatible" content="IE=edge">
44

5-
<title>{{ site.title }}{% if page.title and page.url != "/" %} | {{ page.title }}{% endif %}</title>
5+
<title>{% if site.title == blank %}{{ site.title }}{% else %}{{ site.first_name }} {{ site.middle_name }} {{ site.last_name }}{% endif %}{% if page.title and page.url != "/" %} | {{ page.title }}{% endif %}</title>
66
<meta name="description" content="{{ site.description }}">
77

88
<!-- Bootstrap & MDB -->

_includes/header.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<div class="container">
66
{% if page.title != "about" %}
77
<a class="navbar-brand title font-weight-lighter" href="{{ site.baseurl | prepend: site.url }}/">
8-
{% if site.title %}{{ site.title }}{% else %}<span class="font-weight-bold">{{ site.first_name }}</span> {{ site.middle_name }} {{ site.last_name }}{% endif %}
8+
{% if site.title == blank %}{{ site.title }}{% else %}<span class="font-weight-bold">{{ site.first_name }}</span> {{ site.middle_name }} {{ site.last_name }}{% endif %}
99
</a>
1010
{% elsif site.show_social_icons %}
1111
<!-- Social Icons -->

_layouts/about.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<header class="post-header">
88
<h1 class="post-title">
9-
{% if site.title %}{{ site.title }}{% else %}<span class="font-weight-bold">{{ site.first_name }}</span> {{ site.middle_name }} {{ site.last_name }}{% endif %}
9+
{% if site.title == blank %}{{ site.title }}{% else %}<span class="font-weight-bold">{{ site.first_name }}</span> {{ site.middle_name }} {{ site.last_name }}{% endif %}
1010
</h1>
1111
</header>
1212

0 commit comments

Comments
 (0)