aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2023-06-28 14:56:51 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2023-06-28 14:56:51 +0530
commit9722e30a27ebe061186ef6ba89c3706b10f879a2 (patch)
tree7c6471f105c3384617ccd4e037791315c6bbc1e5
parent97033fbbd1b548496fa1639e324d9c0a36e3c8de (diff)
moved image to _index.md
-rw-r--r--config.toml12
-rw-r--r--layouts/partials/index_nav.html2
2 files changed, 1 insertions, 13 deletions
diff --git a/config.toml b/config.toml
index 24382fc..4843d89 100644
--- a/config.toml
+++ b/config.toml
@@ -10,23 +10,11 @@ gifs = [
"<a href=''><img src='' target='_blank' alt='' width='88'></a>"
, "<a href=''><img src='' target='_blank' alt='' width='88'></a>"
]
-# URL for the picture shown on homepage
-mainPictureURL = "/images/vidhukant.webp"
-mainPictureAlt = "Vidhu Kant's Image" # alt for mainPicture
blogTitle = "My Blog" # title shown for the blog page
listsTitle = "My Lists" # title shown for the lists page
docsTitle = "My Docs" # title shown for the docs page
-indexContent = """
-<div id="my-intro">
- <h1>Welcome to my website</h1>
- <p>
- Voluptatem ut sit placeat sint. Sit itaque minus sed nihil qui perferendis est. Eaque consectetur omnis vel consequatur. Voluptatem blanditiis qui aperiam enim temporibus voluptas maiores non. Nostrum quidem ipsa consequatur ratione aliquid. Facilis consequatur vel facere et molestiae suscipit nesciunt. Veritatis dolore corrupti doloremque reprehenderit. Blanditiis voluptates modi architecto voluptatibus voluptatem et quo. Ut neque architecto numquam dolorem. Harum sit vitae quia unde. Consequatur illo aperiam id nisi. Quod id magni animi voluptatem. Aperiam non itaque sint. Sed quod placeat aliquid aut. Dolorem dolorem alias sed quia magni aliquam. Laboriosam labore doloremque soluta sunt distinctio officiis. Ducimus quas consequatur deserunt praesentium explicabo impedit. Consequatur omnis iste voluptate voluptatibus repellat. Laboriosam veniam ipsa quam tempora eos iste optio.
- </p>
-</div>
-"""
-
[author]
name = ""
email = ""
diff --git a/layouts/partials/index_nav.html b/layouts/partials/index_nav.html
index 6d372d1..9e3d8c4 100644
--- a/layouts/partials/index_nav.html
+++ b/layouts/partials/index_nav.html
@@ -1,5 +1,5 @@
<div id="image-and-links">
- <img id="my-image" src="{{ .Site.Params.mainPictureURL }}" alt="{{ .Site.Params.mainPictureAlt }}">
+ <img id="my-image" src="{{ .Params.img }}" alt="{{ .Params.alt }}">
<ul id="my-links">
<li>
<a href="/blog/">Blog</a>