Fix title spaces and a few links (#789)

* fix title

* fix a few links

* add line
This commit is contained in:
Rohan Deb Sarkar 2022-07-28 21:54:58 +05:30 committed by GitHub
parent 96e794f257
commit 4817639f30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 6 deletions

View File

@ -6,4 +6,4 @@ description: "Looks like there has been a mistake. Nothing exists here."
redirect: true 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>

View File

@ -5,8 +5,20 @@
<nav id="navbar" class="navbar navbar-light navbar-expand-sm {% if site.navbar_fixed %}fixed-top{% else %}sticky-top{% endif %}"> <nav id="navbar" class="navbar navbar-light navbar-expand-sm {% if site.navbar_fixed %}fixed-top{% else %}sticky-top{% endif %}">
<div class="container"> <div class="container">
{% if page.permalink != '/' -%} {% if page.permalink != '/' -%}
<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 }}/">
{%- if site.title == "blank" -%}<span class="font-weight-bold">{{ site.first_name }}</span> {{ site.middle_name }} {{ site.last_name }}{%- else -%}{{ site.title }}{%- endif -%} {%- if site.title == "blank" -%}
{%- if site.first_name -%}
<span class="font-weight-bold">{{- site.first_name -}}&nbsp;</span>
{%- endif -%}
{%- if site.middle_name -%}
{{- site.middle_name -}}&nbsp;
{%- endif -%}
{%- if site.last_name -%}
{{- site.last_name -}}
{%- endif -%}
{%- else -%}
{{- site.title -}}
{%- endif -%}
</a> </a>
{%- elsif site.enable_navbar_social -%} {%- elsif site.enable_navbar_social -%}
<!-- Social Icons --> <!-- Social Icons -->

View File

@ -53,5 +53,5 @@
<a href="https://stackoverflow.com/users/{{ site.stackoverflow_id }}" title="Stackoverflow"><i class="fab fa-stack-overflow"></i></a> <a href="https://stackoverflow.com/users/{{ site.stackoverflow_id }}" title="Stackoverflow"><i class="fab fa-stack-overflow"></i></a>
{% endif %} {% endif %}
{%- if site.rss_icon -%} {%- if site.rss_icon -%}
<a href="{{ site.baseurl | prepend: site.url }}/feed.xml" title="RSS Feed"><i class="fas fa-rss-square"></i></a> <a href="{{ site.baseurl }}/feed.xml" title="RSS Feed"><i class="fas fa-rss-square"></i></a>
{% endif %} {% endif %}

View File

@ -4,7 +4,7 @@
<!-- Head --> <!-- Head -->
<head> <head>
{%- if page.redirect -%} {%- 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 -%} {%- endif -%}
{% include head.html %} {% include head.html %}
</head> </head>