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

github.com/gurusabarish/hugo-profile.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgurusabarish <gurusabarisha@gmail.com>2020-10-10 20:56:47 +0300
committergurusabarish <gurusabarisha@gmail.com>2020-10-10 20:56:47 +0300
commita66c746f490cec13406163527271a6a8665a3b51 (patch)
treeaebde24a572fb93587eac9100ad5f42f0cf9a0fd
parent36106b5dda7eb5d9328bf46323c5603b23be0384 (diff)
background fix
-rw-r--r--content/blog/markdown.md147
-rw-r--r--content/blog/markdown_1.md145
-rw-r--r--content/blog/markdown_2.md145
-rw-r--r--content/blog/markdown_3.md143
-rw-r--r--exampleSite/config.yaml31
-rw-r--r--layouts/partials/sections/do_things.html4
-rw-r--r--layouts/partials/sections/home.html12
-rw-r--r--layouts/partials/sections/projects.html9
-rw-r--r--static/css/index.css2
-rw-r--r--theme.toml2
10 files changed, 624 insertions, 16 deletions
diff --git a/content/blog/markdown.md b/content/blog/markdown.md
new file mode 100644
index 0000000..781e435
--- /dev/null
+++ b/content/blog/markdown.md
@@ -0,0 +1,147 @@
+---
+title: "Markdown syntax"
+date: 2020-08-13T23:03:58+05:30
+draft: false
+subtitle: "Javascript"
+bg_image: "/images/bg-image.jpg"
+description: "Markdown syntax"
+author: "Gurusabarish"
+github_link: "https://github.com/gurusabarish/hugo-profile"
+tags:
+ - markdown
+ - css
+ - html
+ - themes
+ - blog
+---
+
+This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme.
+<!--more-->
+
+## Headings
+
+The following HTML `<h1>`—`<h6>` elements represent six levels of section headings. `<h1>` is the highest section level while `<h6>` is the lowest.
+
+# H1
+## H2
+### H3
+#### H4
+##### H5
+###### H6
+
+## Paragraph
+
+Xerum, quo qui aut unt expliquam qui dolut labo. Aque venitatiusda cum, voluptionse latur sitiae dolessi aut parist aut dollo enim qui voluptate ma dolestendit peritin re plis aut quas inctum laceat est volestemque commosa as cus endigna tectur, offic to cor sequas etum rerum idem sintibus eiur? Quianimin porecus evelectur, cum que nis nust voloribus ratem aut omnimi, sitatur? Quiatem. Nam, omnis sum am facea corem alique molestrunt et eos evelece arcillit ut aut eos eos nus, sin conecerem erum fuga. Ri oditatquam, ad quibus unda veliamenimin cusam et facea ipsamus es exerum sitate dolores editium rerore eost, temped molorro ratiae volorro te reribus dolorer sperchicium faceata tiustia prat.
+
+Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat.
+
+
+## Blockquotes
+
+The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a `footer` or `cite` element, and optionally with in-line changes such as annotations and abbreviations.
+
+#### Blockquote without attribution
+
+
+> Tiam, ad mint andaepu dandae nostion secatur sequo quae.
+> **Note** that you can use *Markdown syntax* within a blockquote.
+
+
+#### Blockquote with attribution
+
+
+> Don't communicate by sharing memory, share memory by communicating.</p>
+> — <cite>Rob Pike[^1]</cite>
+
+
+[^1]: The above quote is excerpted from Rob Pike's [talk](https://www.youtube.com/watch?v=PAAkCSZUG1c) during Gopherfest, November 18, 2015.
+
+## Tables
+
+Tables aren't part of the core Markdown spec, but Hugo supports supports them out-of-the-box.
+
+ | Name | Age |
+ | ----- | --- |
+ | Bob | 27 |
+ | Alice | 23 |
+
+#### Inline Markdown within tables
+
+| Inline&nbsp;&nbsp;&nbsp; | Markdown&nbsp;&nbsp;&nbsp; | In&nbsp;&nbsp;&nbsp; | Table |
+| ------------------------ | -------------------------- | ----------------------------------- | ------ |
+| *italics* | **bold** | ~~strikethrough~~&nbsp;&nbsp;&nbsp; | `code` |
+
+## Code Blocks
+
+#### Code block with backticks
+
+``` html
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <title>Example HTML5 Document</title>
+</head>
+<body>
+ <p>Test</p>
+</body>
+</html>
+```
+#### Code block indented with four spaces
+
+ <!DOCTYPE html>
+ <html lang="en">
+ <head>
+ <meta charset="UTF-8">
+ <title>Example HTML5 Document</title>
+ </head>
+ <body>
+ <p>Test</p>
+ </body>
+ </html>
+
+#### Code block with Hugo's internal highlight shortcode
+{{< highlight html >}}
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <title>Example HTML5 Document</title>
+</head>
+<body>
+ <p>Test</p>
+</body>
+</html>
+{{< /highlight >}}
+
+## List Types
+
+#### Ordered List
+
+1. First item
+2. Second item
+3. Third item
+
+#### Unordered List
+
+* List item
+* Another item
+* And another item
+
+#### Nested list
+
+* Item
+1. First Sub-item
+2. Second Sub-item
+
+## Other Elements — abbr, sub, sup, kbd, mark
+
+<abbr title="Graphics Interchange Format">GIF</abbr> is a bitmap image format.
+
+H<sub>2</sub>O
+
+X<sup>n</sup> + Y<sup>n</sup> = Z<sup>n</sup>
+
+Press <kbd><kbd>CTRL</kbd>+<kbd>ALT</kbd>+<kbd>Delete</kbd></kbd> to end the session.
+
+Most <mark>salamanders</mark> are nocturnal, and hunt for insects, worms, and other small creatures. \ No newline at end of file
diff --git a/content/blog/markdown_1.md b/content/blog/markdown_1.md
new file mode 100644
index 0000000..d21089f
--- /dev/null
+++ b/content/blog/markdown_1.md
@@ -0,0 +1,145 @@
+---
+title: "Markdown syntax"
+date: 2020-08-15T13:22:10+05:30
+draft: false
+subtitle: "Javascript"
+github_link: "https://github.com/gurusabarish/hugo-profile"
+author: "Gurusabarish"
+tags:
+ - markdown
+ - css
+ - blog
+bg_image: "/images/bg-image-4.jpg"
+description: "Markdown syntax"
+---
+
+This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme.
+<!--more-->
+
+## Headings
+
+The following HTML `<h1>`—`<h6>` elements represent six levels of section headings. `<h1>` is the highest section level while `<h6>` is the lowest.
+
+# H1
+## H2
+### H3
+#### H4
+##### H5
+###### H6
+
+## Paragraph
+
+Xerum, quo qui aut unt expliquam qui dolut labo. Aque venitatiusda cum, voluptionse latur sitiae dolessi aut parist aut dollo enim qui voluptate ma dolestendit peritin re plis aut quas inctum laceat est volestemque commosa as cus endigna tectur, offic to cor sequas etum rerum idem sintibus eiur? Quianimin porecus evelectur, cum que nis nust voloribus ratem aut omnimi, sitatur? Quiatem. Nam, omnis sum am facea corem alique molestrunt et eos evelece arcillit ut aut eos eos nus, sin conecerem erum fuga. Ri oditatquam, ad quibus unda veliamenimin cusam et facea ipsamus es exerum sitate dolores editium rerore eost, temped molorro ratiae volorro te reribus dolorer sperchicium faceata tiustia prat.
+
+Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat.
+
+
+## Blockquotes
+
+The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a `footer` or `cite` element, and optionally with in-line changes such as annotations and abbreviations.
+
+#### Blockquote without attribution
+
+
+> Tiam, ad mint andaepu dandae nostion secatur sequo quae.
+> **Note** that you can use *Markdown syntax* within a blockquote.
+
+
+#### Blockquote with attribution
+
+
+> Don't communicate by sharing memory, share memory by communicating.</p>
+> — <cite>Rob Pike[^1]</cite>
+
+
+[^1]: The above quote is excerpted from Rob Pike's [talk](https://www.youtube.com/watch?v=PAAkCSZUG1c) during Gopherfest, November 18, 2015.
+
+## Tables
+
+Tables aren't part of the core Markdown spec, but Hugo supports supports them out-of-the-box.
+
+ | Name | Age |
+ | ----- | --- |
+ | Bob | 27 |
+ | Alice | 23 |
+
+#### Inline Markdown within tables
+
+| Inline&nbsp;&nbsp;&nbsp; | Markdown&nbsp;&nbsp;&nbsp; | In&nbsp;&nbsp;&nbsp; | Table |
+| ------------------------ | -------------------------- | ----------------------------------- | ------ |
+| *italics* | **bold** | ~~strikethrough~~&nbsp;&nbsp;&nbsp; | `code` |
+
+## Code Blocks
+
+#### Code block with backticks
+
+``` html
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <title>Example HTML5 Document</title>
+</head>
+<body>
+ <p>Test</p>
+</body>
+</html>
+```
+#### Code block indented with four spaces
+
+ <!DOCTYPE html>
+ <html lang="en">
+ <head>
+ <meta charset="UTF-8">
+ <title>Example HTML5 Document</title>
+ </head>
+ <body>
+ <p>Test</p>
+ </body>
+ </html>
+
+#### Code block with Hugo's internal highlight shortcode
+{{< highlight html >}}
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <title>Example HTML5 Document</title>
+</head>
+<body>
+ <p>Test</p>
+</body>
+</html>
+{{< /highlight >}}
+
+## List Types
+
+#### Ordered List
+
+1. First item
+2. Second item
+3. Third item
+
+#### Unordered List
+
+* List item
+* Another item
+* And another item
+
+#### Nested list
+
+* Item
+1. First Sub-item
+2. Second Sub-item
+
+## Other Elements — abbr, sub, sup, kbd, mark
+
+<abbr title="Graphics Interchange Format">GIF</abbr> is a bitmap image format.
+
+H<sub>2</sub>O
+
+X<sup>n</sup> + Y<sup>n</sup> = Z<sup>n</sup>
+
+Press <kbd><kbd>CTRL</kbd>+<kbd>ALT</kbd>+<kbd>Delete</kbd></kbd> to end the session.
+
+Most <mark>salamanders</mark> are nocturnal, and hunt for insects, worms, and other small creatures. \ No newline at end of file
diff --git a/content/blog/markdown_2.md b/content/blog/markdown_2.md
new file mode 100644
index 0000000..e58c7c6
--- /dev/null
+++ b/content/blog/markdown_2.md
@@ -0,0 +1,145 @@
+---
+title: "Markdown syntax"
+date: 2020-08-14T13:30:29+05:30
+draft: false
+subtitle: "Javascript"
+author: "Gurusabarish"
+github_link: "https://github.com/gurusabarish/hugo-profile"
+tags:
+ - blog
+ - theme
+ - javascript
+bg_image: "/images/bg-image-5.jpg"
+description: "Markdown syntax"
+---
+
+This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme.
+<!--more-->
+
+## Headings
+
+The following HTML `<h1>`—`<h6>` elements represent six levels of section headings. `<h1>` is the highest section level while `<h6>` is the lowest.
+
+# H1
+## H2
+### H3
+#### H4
+##### H5
+###### H6
+
+## Paragraph
+
+Xerum, quo qui aut unt expliquam qui dolut labo. Aque venitatiusda cum, voluptionse latur sitiae dolessi aut parist aut dollo enim qui voluptate ma dolestendit peritin re plis aut quas inctum laceat est volestemque commosa as cus endigna tectur, offic to cor sequas etum rerum idem sintibus eiur? Quianimin porecus evelectur, cum que nis nust voloribus ratem aut omnimi, sitatur? Quiatem. Nam, omnis sum am facea corem alique molestrunt et eos evelece arcillit ut aut eos eos nus, sin conecerem erum fuga. Ri oditatquam, ad quibus unda veliamenimin cusam et facea ipsamus es exerum sitate dolores editium rerore eost, temped molorro ratiae volorro te reribus dolorer sperchicium faceata tiustia prat.
+
+Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat.
+
+
+## Blockquotes
+
+The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a `footer` or `cite` element, and optionally with in-line changes such as annotations and abbreviations.
+
+#### Blockquote without attribution
+
+
+> Tiam, ad mint andaepu dandae nostion secatur sequo quae.
+> **Note** that you can use *Markdown syntax* within a blockquote.
+
+
+#### Blockquote with attribution
+
+
+> Don't communicate by sharing memory, share memory by communicating.</p>
+> — <cite>Rob Pike[^1]</cite>
+
+
+[^1]: The above quote is excerpted from Rob Pike's [talk](https://www.youtube.com/watch?v=PAAkCSZUG1c) during Gopherfest, November 18, 2015.
+
+## Tables
+
+Tables aren't part of the core Markdown spec, but Hugo supports supports them out-of-the-box.
+
+ | Name | Age |
+ | ----- | --- |
+ | Bob | 27 |
+ | Alice | 23 |
+
+#### Inline Markdown within tables
+
+| Inline&nbsp;&nbsp;&nbsp; | Markdown&nbsp;&nbsp;&nbsp; | In&nbsp;&nbsp;&nbsp; | Table |
+| ------------------------ | -------------------------- | ----------------------------------- | ------ |
+| *italics* | **bold** | ~~strikethrough~~&nbsp;&nbsp;&nbsp; | `code` |
+
+## Code Blocks
+
+#### Code block with backticks
+
+``` html
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <title>Example HTML5 Document</title>
+</head>
+<body>
+ <p>Test</p>
+</body>
+</html>
+```
+#### Code block indented with four spaces
+
+ <!DOCTYPE html>
+ <html lang="en">
+ <head>
+ <meta charset="UTF-8">
+ <title>Example HTML5 Document</title>
+ </head>
+ <body>
+ <p>Test</p>
+ </body>
+ </html>
+
+#### Code block with Hugo's internal highlight shortcode
+{{< highlight html >}}
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <title>Example HTML5 Document</title>
+</head>
+<body>
+ <p>Test</p>
+</body>
+</html>
+{{< /highlight >}}
+
+## List Types
+
+#### Ordered List
+
+1. First item
+2. Second item
+3. Third item
+
+#### Unordered List
+
+* List item
+* Another item
+* And another item
+
+#### Nested list
+
+* Item
+1. First Sub-item
+2. Second Sub-item
+
+## Other Elements — abbr, sub, sup, kbd, mark
+
+<abbr title="Graphics Interchange Format">GIF</abbr> is a bitmap image format.
+
+H<sub>2</sub>O
+
+X<sup>n</sup> + Y<sup>n</sup> = Z<sup>n</sup>
+
+Press <kbd><kbd>CTRL</kbd>+<kbd>ALT</kbd>+<kbd>Delete</kbd></kbd> to end the session.
+
+Most <mark>salamanders</mark> are nocturnal, and hunt for insects, worms, and other small creatures. \ No newline at end of file
diff --git a/content/blog/markdown_3.md b/content/blog/markdown_3.md
new file mode 100644
index 0000000..92ccf42
--- /dev/null
+++ b/content/blog/markdown_3.md
@@ -0,0 +1,143 @@
+---
+title: "Markdown syntax"
+date: 2020-09-28T16:19:06+05:30
+draft: false
+subtitle: ""
+github_link: "https://github.com/gurusabarish/hugo-profile"
+author: ""
+tags:
+ - markdown
+bg_image: ""
+description: "Markdown syntax"
+---
+
+This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme.
+<!--more-->
+
+## Headings
+
+The following HTML `<h1>`—`<h6>` elements represent six levels of section headings. `<h1>` is the highest section level while `<h6>` is the lowest.
+
+# H1
+## H2
+### H3
+#### H4
+##### H5
+###### H6
+
+## Paragraph
+
+Xerum, quo qui aut unt expliquam qui dolut labo. Aque venitatiusda cum, voluptionse latur sitiae dolessi aut parist aut dollo enim qui voluptate ma dolestendit peritin re plis aut quas inctum laceat est volestemque commosa as cus endigna tectur, offic to cor sequas etum rerum idem sintibus eiur? Quianimin porecus evelectur, cum que nis nust voloribus ratem aut omnimi, sitatur? Quiatem. Nam, omnis sum am facea corem alique molestrunt et eos evelece arcillit ut aut eos eos nus, sin conecerem erum fuga. Ri oditatquam, ad quibus unda veliamenimin cusam et facea ipsamus es exerum sitate dolores editium rerore eost, temped molorro ratiae volorro te reribus dolorer sperchicium faceata tiustia prat.
+
+Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat.
+
+
+## Blockquotes
+
+The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a `footer` or `cite` element, and optionally with in-line changes such as annotations and abbreviations.
+
+#### Blockquote without attribution
+
+
+> Tiam, ad mint andaepu dandae nostion secatur sequo quae.
+> **Note** that you can use *Markdown syntax* within a blockquote.
+
+
+#### Blockquote with attribution
+
+
+> Don't communicate by sharing memory, share memory by communicating.</p>
+> — <cite>Rob Pike[^1]</cite>
+
+
+[^1]: The above quote is excerpted from Rob Pike's [talk](https://www.youtube.com/watch?v=PAAkCSZUG1c) during Gopherfest, November 18, 2015.
+
+## Tables
+
+Tables aren't part of the core Markdown spec, but Hugo supports supports them out-of-the-box.
+
+ | Name | Age |
+ | ----- | --- |
+ | Bob | 27 |
+ | Alice | 23 |
+
+#### Inline Markdown within tables
+
+| Inline&nbsp;&nbsp;&nbsp; | Markdown&nbsp;&nbsp;&nbsp; | In&nbsp;&nbsp;&nbsp; | Table |
+| ------------------------ | -------------------------- | ----------------------------------- | ------ |
+| *italics* | **bold** | ~~strikethrough~~&nbsp;&nbsp;&nbsp; | `code` |
+
+## Code Blocks
+
+#### Code block with backticks
+
+``` html
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <title>Example HTML5 Document</title>
+</head>
+<body>
+ <p>Test</p>
+</body>
+</html>
+```
+#### Code block indented with four spaces
+
+ <!DOCTYPE html>
+ <html lang="en">
+ <head>
+ <meta charset="UTF-8">
+ <title>Example HTML5 Document</title>
+ </head>
+ <body>
+ <p>Test</p>
+ </body>
+ </html>
+
+#### Code block with Hugo's internal highlight shortcode
+{{< highlight html >}}
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <title>Example HTML5 Document</title>
+</head>
+<body>
+ <p>Test</p>
+</body>
+</html>
+{{< /highlight >}}
+
+## List Types
+
+#### Ordered List
+
+1. First item
+2. Second item
+3. Third item
+
+#### Unordered List
+
+* List item
+* Another item
+* And another item
+
+#### Nested list
+
+* Item
+1. First Sub-item
+2. Second Sub-item
+
+## Other Elements — abbr, sub, sup, kbd, mark
+
+<abbr title="Graphics Interchange Format">GIF</abbr> is a bitmap image format.
+
+H<sub>2</sub>O
+
+X<sup>n</sup> + Y<sup>n</sup> = Z<sup>n</sup>
+
+Press <kbd><kbd>CTRL</kbd>+<kbd>ALT</kbd>+<kbd>Delete</kbd></kbd> to end the session.
+
+Most <mark>salamanders</mark> are nocturnal, and hunt for insects, worms, and other small creatures. \ No newline at end of file
diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml
index 1f815e5..9ec3756 100644
--- a/exampleSite/config.yaml
+++ b/exampleSite/config.yaml
@@ -15,6 +15,11 @@ params:
googleanalytics: ""
disqus: ""
copyright: "2020"
+
+ # Background
+ custombackground: false
+ background: ""
+ backimg: ""
# Contact
contact: true
@@ -36,6 +41,7 @@ params:
instagram: "https://instagram.com/#"
# Do things
+ usedothings: true
usedefaultlogos: true
thing1: "Python"
@@ -53,41 +59,54 @@ params:
job: "your role"
resume: ""
+ #projects
projects:
- title: "Project name"
image: "https://images.unsplash.com/photo-1532781914607-2031eca2f00d?ixlib=rb-0.3.5&amp;q=80&amp;fm=jpg&amp;crop=entropy&amp;cs=tinysrgb&amp;w=1080&amp;fit=max&amp;ixid=eyJhcHBfaWQiOjMyMDc0fQ&amp;s=7c625ea379640da3ef2e24f20df7ce8d"
description: "This is your description"
- url: "https://github.com/gurusabarish/hugo-profile"
+ secoundarylink: true
+ secoundaryurlname: "Secoundary link"
+ secoundaryurl: ""
sourceurl: "https://github.com/gurusabarish/hugo-profile"
- title: "Project name"
image: "https://images.unsplash.com/photo-1532781914607-2031eca2f00d?ixlib=rb-0.3.5&amp;q=80&amp;fm=jpg&amp;crop=entropy&amp;cs=tinysrgb&amp;w=1080&amp;fit=max&amp;ixid=eyJhcHBfaWQiOjMyMDc0fQ&amp;s=7c625ea379640da3ef2e24f20df7ce8d"
description: "This is your description"
- url: "https://github.com/gurusabarish/hugo-profile"
+ secoundarylink: true
+ secoundaryurlname: "Secoundary link"
+ secoundaryurl: ""
sourceurl: "https://github.com/gurusabarish/hugo-profile"
- title: "Project name"
image: "https://images.unsplash.com/photo-1532781914607-2031eca2f00d?ixlib=rb-0.3.5&amp;q=80&amp;fm=jpg&amp;crop=entropy&amp;cs=tinysrgb&amp;w=1080&amp;fit=max&amp;ixid=eyJhcHBfaWQiOjMyMDc0fQ&amp;s=7c625ea379640da3ef2e24f20df7ce8d"
description: "This is your description"
- url: "https://github.com/gurusabarish/hugo-profile"
+ secoundarylink: true
+ secoundaryurlname: "Secoundary link"
+ secoundaryurl: ""
sourceurl: "https://github.com/gurusabarish/hugo-profile"
- title: "Project name"
image: "https://images.unsplash.com/photo-1532781914607-2031eca2f00d?ixlib=rb-0.3.5&amp;q=80&amp;fm=jpg&amp;crop=entropy&amp;cs=tinysrgb&amp;w=1080&amp;fit=max&amp;ixid=eyJhcHBfaWQiOjMyMDc0fQ&amp;s=7c625ea379640da3ef2e24f20df7ce8d"
description: "This is your description"
- url: "https://github.com/gurusabarish/hugo-profile"
+ secoundarylink: true
+ secoundaryurlname: "Secoundary link"
+ secoundaryurl: ""
sourceurl: "https://github.com/gurusabarish/hugo-profile"
- title: "Project name"
image: "https://images.unsplash.com/photo-1532781914607-2031eca2f00d?ixlib=rb-0.3.5&amp;q=80&amp;fm=jpg&amp;crop=entropy&amp;cs=tinysrgb&amp;w=1080&amp;fit=max&amp;ixid=eyJhcHBfaWQiOjMyMDc0fQ&amp;s=7c625ea379640da3ef2e24f20df7ce8d"
description: "This is your description"
- url: "https://github.com/gurusabarish/hugo-profile"
+ secoundarylink: true
+ secoundaryurlname: "Secoundary link"
+ secoundaryurl: ""
sourceurl: "https://github.com/gurusabarish/hugo-profile"
- title: "Project name"
image: "https://images.unsplash.com/photo-1532781914607-2031eca2f00d?ixlib=rb-0.3.5&amp;q=80&amp;fm=jpg&amp;crop=entropy&amp;cs=tinysrgb&amp;w=1080&amp;fit=max&amp;ixid=eyJhcHBfaWQiOjMyMDc0fQ&amp;s=7c625ea379640da3ef2e24f20df7ce8d"
description: "This is your description"
- url: "https://github.com/gurusabarish/hugo-profile"
+ secoundarylink: true
+ secoundaryurlname: "Secoundary link"
+ secoundaryurl: ""
sourceurl: "https://github.com/gurusabarish/hugo-profile"
diff --git a/layouts/partials/sections/do_things.html b/layouts/partials/sections/do_things.html
index 93e6fdb..0202c68 100644
--- a/layouts/partials/sections/do_things.html
+++ b/layouts/partials/sections/do_things.html
@@ -1,3 +1,4 @@
+{{ if .Site.Params.usedothings }}
<section>
<div class="pt-3 do-things text-center" id="do-things">
<div class="container">
@@ -79,4 +80,5 @@
</div>
</div>
</div>
-</section> \ No newline at end of file
+</section>
+{{ end }} \ No newline at end of file
diff --git a/layouts/partials/sections/home.html b/layouts/partials/sections/home.html
index b500067..41290e2 100644
--- a/layouts/partials/sections/home.html
+++ b/layouts/partials/sections/home.html
@@ -1,5 +1,13 @@
+{{ $backgroundImage:= "images/background.png" }}
+{{ $backimg:= "images/guru.svg" }}
+
+{{ if .Site.Params.custombackground }}
+ {{ $backgroundImage = .Site.Params.background }}
+ {{ $backimg = .Site.Params.backimg }}
+{{ end }}
+
<section>
- <div class="home">
+ <div class="home" style="background-image: url('{{ $backgroundImage | absURL }}');">
<nav class="navbar navbar-expand-lg navbar-light bg-transperant">
<div class="container">
<a class="navbar-brand text-dark" href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a>
@@ -96,7 +104,7 @@
</div>
- <div class="col-lg-3 home-content d-none d-md-block"></div>
+ <div class="col-lg-3 home-content d-none d-md-block" style="background-image: url('{{ $backimg | absURL }}');"></div>
</div>
<div class="row know-more ">
<div class="container p-3 rounded text-center">
diff --git a/layouts/partials/sections/projects.html b/layouts/partials/sections/projects.html
index 5e1e806..d53fc53 100644
--- a/layouts/partials/sections/projects.html
+++ b/layouts/partials/sections/projects.html
@@ -2,8 +2,6 @@
<div class="projects p-3" id="projects">
<div class="container">
<div class="project-heading text-center text-white container pb-3">Projects</div>
-
-
<div class="pt-5 pb-5">
<div class="container">
<div class="row">
@@ -18,8 +16,11 @@
<div class="card-body">
<h4 class="card-title">{{ .title }}</h4>
<p class="card-text">{{ .description}}</p>
- <a href="{{ .url }}" class="btn btn-info">Go to Blog</a>
-
+
+ {{ if .secoundarylink}}
+ <a href="{{ .secoundaryurl }}" class="btn btn-info">{{ .secoundaryurlname }}</a>
+ {{ end }}
+
{{ if .sourceurl }}
<a class="text-dark" href="{{ .sourceurl }}" target="_blank">
<svg width="2em" height="2em" fill="currentColor"
diff --git a/static/css/index.css b/static/css/index.css
index 6cdc56e..d543ca6 100644
--- a/static/css/index.css
+++ b/static/css/index.css
@@ -5,7 +5,6 @@
padding: 0;
padding-bottom: 0;
margin: 0;
- background-image: url(/images/background.png);
background-size: cover;
background-repeat: no-repeat;
}
@@ -42,7 +41,6 @@
padding-right: 5%;
background-repeat: no-repeat;
background-position: bottom;
- background-image: url(/images/guru.svg);
}
.social a:hover {
diff --git a/theme.toml b/theme.toml
index a86d199..49711db 100644
--- a/theme.toml
+++ b/theme.toml
@@ -1,7 +1,7 @@
name = "hugo-profile"
license = "MIT"
licenselink = "https://github.com/gurusabarish/hugo-profile/blob/master/LICENSE"
-description = "A simple hugo theme for personal portfolio"
+description = "A high performance hugo theme for personal portfolio"
homepage = "https://hugo-profile.netlify.com"
tags = ["Responsive","Blog", "Portfolio"]
features = []