Fix title spaces and a few links (#789)
* fix title * fix a few links * add line
This commit is contained in:
parent
96e794f257
commit
4817639f30
2
404.html
2
404.html
@ -6,4 +6,4 @@ description: "Looks like there has been a mistake. Nothing exists here."
|
||||
redirect: true
|
||||
---
|
||||
|
||||
<p>You will be redirected to the main page within 3 seconds. If not redirected, please click <a href="{{ site.baseurl | prepend: site.url }}/">here</a>.</p>
|
||||
<p>You will be redirected to the main page within 3 seconds. If not redirected, please click <a href="{{ site.baseurl }}/">here</a>.</p>
|
||||
|
@ -5,8 +5,20 @@
|
||||
<nav id="navbar" class="navbar navbar-light navbar-expand-sm {% if site.navbar_fixed %}fixed-top{% else %}sticky-top{% endif %}">
|
||||
<div class="container">
|
||||
{% if page.permalink != '/' -%}
|
||||
<a class="navbar-brand title font-weight-lighter" href="{{ site.baseurl | prepend: site.url }}/">
|
||||
{%- if site.title == "blank" -%}<span class="font-weight-bold">{{ site.first_name }}</span> {{ site.middle_name }} {{ site.last_name }}{%- else -%}{{ site.title }}{%- endif -%}
|
||||
<a class="navbar-brand title font-weight-lighter" href="{{ site.baseurl }}/">
|
||||
{%- if site.title == "blank" -%}
|
||||
{%- if site.first_name -%}
|
||||
<span class="font-weight-bold">{{- site.first_name -}} </span>
|
||||
{%- endif -%}
|
||||
{%- if site.middle_name -%}
|
||||
{{- site.middle_name -}}
|
||||
{%- endif -%}
|
||||
{%- if site.last_name -%}
|
||||
{{- site.last_name -}}
|
||||
{%- endif -%}
|
||||
{%- else -%}
|
||||
{{- site.title -}}
|
||||
{%- endif -%}
|
||||
</a>
|
||||
{%- elsif site.enable_navbar_social -%}
|
||||
<!-- Social Icons -->
|
||||
|
@ -53,5 +53,5 @@
|
||||
<a href="https://stackoverflow.com/users/{{ site.stackoverflow_id }}" title="Stackoverflow"><i class="fab fa-stack-overflow"></i></a>
|
||||
{% endif %}
|
||||
{%- if site.rss_icon -%}
|
||||
<a href="{{ site.baseurl | prepend: site.url }}/feed.xml" title="RSS Feed"><i class="fas fa-rss-square"></i></a>
|
||||
{% endif %}
|
||||
<a href="{{ site.baseurl }}/feed.xml" title="RSS Feed"><i class="fas fa-rss-square"></i></a>
|
||||
{% endif %}
|
||||
|
@ -4,7 +4,7 @@
|
||||
<!-- Head -->
|
||||
<head>
|
||||
{%- if page.redirect -%}
|
||||
<meta http-equiv="refresh" content="3; url={{ site.baseurl | prepend: site.url }}/" />
|
||||
<meta http-equiv="refresh" content="3; url={{ site.baseurl }}/" />
|
||||
{%- endif -%}
|
||||
{% include head.html %}
|
||||
</head>
|
||||
|
Loading…
Reference in New Issue
Block a user