remove target=_blank
Prithu Goswami prithugoswami524@gmail.com
Thu, 09 Jul 2020 20:06:53 +0530
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
layouts/index.html
→
layouts/index.html
@@ -98,7 +98,7 @@ <h1>Some of my works</h1>
<div class="shadow-box"> <div class="section-text"> {{ range .Site.Data.projects }} - <a href="{{ .url }}" target="_blank"> + <a href="{{ .url }}"> <div class="section-item"> <h2>{{ .title }}</h2> <p class="section-sub-text">{{ .description }}</p>@@ -117,7 +117,7 @@ <h1>I also write about stuff</h1>
<div class="shadow-box"> <div class="section-text"> {{ range sort (where .Site.RegularPages "Section" "posts") "Date" "desc" | first 3}} - <a href="{{ .RelPermalink }}" target="_blank"> + <a href="{{ .RelPermalink }}"> <div class=section-item> <h2>{{ .Title }}</h2> <p class="section-sub-text">{{ with .Params.description }}{{ . }}{{ else }}{{.Summary | truncate 110 }}{{ end }}</p>