Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gangjun06/SimpleIntro.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author이강준 <me@gangjun.dev>2020-12-27 16:40:19 +0300
committerGitHub <noreply@github.com>2020-12-27 16:40:19 +0300
commitc78cf6dcfea2d64bb7b49b30dd1792837b1bfb48 (patch)
tree4af7128678daf1701f089464c0830fe74afd72e7
parent8614d33c225e29c697f19acc05f5c097d84bad62 (diff)
parent9caf7456d5ee63404973f8ac09a11764b7bf22c4 (diff)
Merge pull request #2 from osmandi/master
Add attribute on click in the image on Projects
-rw-r--r--layouts/partials/home.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/layouts/partials/home.html b/layouts/partials/home.html
index 834fd88..d6858c2 100644
--- a/layouts/partials/home.html
+++ b/layouts/partials/home.html
@@ -96,11 +96,13 @@
>
{{ range $data.project.list }}
<div class="w-full rounded overflow-hidden shadow-lg">
- <img
+ <a href="{{ .url }}" target="_blank">
+ <img
class="w-full h-48"
src="{{ .image }}"
alt="Sunset in the mountains"
- />
+ />
+ </a>
<div class="px-6 py-4">
<div class="font-bold text-xl mb-2">{{ .title }}</div>
<p class="text-gray-700 text-base">