Minor fixes

This commit is contained in:
Maruan Al-Shedivat 2020-09-03 18:49:23 -04:00
parent 4ce137840f
commit 619bb2df74
4 changed files with 5 additions and 5 deletions

View File

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

View File

@ -2,7 +2,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>{{ site.title }}{% if page.title and page.url != "/" %} | {{ page.title }}{% endif %}</title> <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>
<meta name="description" content="{{ site.description }}"> <meta name="description" content="{{ site.description }}">
<!-- Bootstrap & MDB --> <!-- Bootstrap & MDB -->

View File

@ -5,7 +5,7 @@
<div class="container"> <div class="container">
{% if page.title != "about" %} {% if page.title != "about" %}
<a class="navbar-brand title font-weight-lighter" href="{{ site.baseurl | prepend: site.url }}/"> <a class="navbar-brand title font-weight-lighter" href="{{ site.baseurl | prepend: site.url }}/">
{% if site.title %}{{ site.title }}{% else %}<span class="font-weight-bold">{{ site.first_name }}</span> {{ site.middle_name }} {{ site.last_name }}{% endif %} {% if site.title == blank %}{{ site.title }}{% else %}<span class="font-weight-bold">{{ site.first_name }}</span> {{ site.middle_name }} {{ site.last_name }}{% endif %}
</a> </a>
{% elsif site.show_social_icons %} {% elsif site.show_social_icons %}
<!-- Social Icons --> <!-- Social Icons -->

View File

@ -6,7 +6,7 @@ layout: default
<header class="post-header"> <header class="post-header">
<h1 class="post-title"> <h1 class="post-title">
{% if site.title %}{{ site.title }}{% else %}<span class="font-weight-bold">{{ site.first_name }}</span> {{ site.middle_name }} {{ site.last_name }}{% endif %} {% if site.title == blank %}{{ site.title }}{% else %}<span class="font-weight-bold">{{ site.first_name }}</span> {{ site.middle_name }} {{ site.last_name }}{% endif %}
</h1> </h1>
</header> </header>