From 03cfc7739383e6a2e7a9b659081168513933ebf6 Mon Sep 17 00:00:00 2001 From: Kanani Nirav Date: Sat, 29 Jul 2023 11:20:10 +0900 Subject: [PATCH] [Modify] EBook Link Add --- _config.yml | 6 +++++- _layouts/default.html | 7 ++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/_config.yml b/_config.yml index ba805ba..4037d2c 100644 --- a/_config.yml +++ b/_config.yml @@ -34,4 +34,8 @@ defaults: - scope: path: "" values: - image: /images/AWS-Cloud-Practitioner.png \ No newline at end of file + image: /images/AWS-Cloud-Practitioner.png + - scope: + path: "/sections/*.md" + values: + link: true diff --git a/_layouts/default.html b/_layouts/default.html index b3b7f03..079c2ed 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -31,6 +31,11 @@
{{ content }} + {% if page.link %} +

Download Ebook :     + AWS Cloud Practitioner Study Notes (Ebook)

+ {% endif %} + {% assign giscus = site.giscus %}