Refactor target values of redirections to external pages (#292)

This commit is contained in:
Tommy Chu 2021-04-05 19:32:54 +02:00 committed by GitHub
parent d6706e05ee
commit d38634df8d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -59,7 +59,7 @@
<!--- Improve this page button ---> <!--- Improve this page button --->
{{ if site.Params.GitRepo }} {{ if site.Params.GitRepo }}
<div class="btn-improve-page"> <div class="btn-improve-page">
<a href="{{ site.Params.GitRepo }}/edit/{{ site.Params.GitBranch }}/content/{{ .File.Path }}"> <a href="{{ site.Params.GitRepo }}/edit/{{ site.Params.GitBranch }}/content/{{ .File.Path }}" target="_blank">
<i class="fas fa-code-branch"></i> <i class="fas fa-code-branch"></i>
{{ i18n "improve_this_page" }} {{ i18n "improve_this_page" }}
</a> </a>

View file

@ -92,14 +92,14 @@
<div class="container"> <div class="container">
<div class="row text-left"> <div class="row text-left">
<div class="col-md-4"> <div class="col-md-4">
<a id="theme" href="https://github.com/hossainemruz/toha" target="#"> <a id="theme" href="https://github.com/hossainemruz/toha" target="_blank">
<img src="{{ $themeLogo }}" alt="Toha Theme Logo"> <img src="{{ $themeLogo }}" alt="Toha Theme Logo">
Toha Toha
</a> </a>
</div> </div>
<div class="col-md-4 text-center">{{ $copyrightNotice | markdownify }}</div> <div class="col-md-4 text-center">{{ $copyrightNotice | markdownify }}</div>
<div class="col-md-4 text-right"> <div class="col-md-4 text-right">
<a id="hugo" href="https://gohugo.io/">{{ i18n "hugoAttributionText" }} <a id="hugo" href="https://gohugo.io/" target="_blank">{{ i18n "hugoAttributionText" }}
<img <img
src="{{ $hugoLogo }}" src="{{ $hugoLogo }}"
alt="Hugo Logo" alt="Hugo Logo"