This commit is contained in:
gurusabarish
2020-09-28 12:18:26 +05:30
parent 9ccb3e1193
commit bdce5b0bce
13 changed files with 11346 additions and 58 deletions
+7 -2
View File
@@ -35,19 +35,25 @@ Xerum, quo qui aut unt expliquam qui dolut labo. Aque venitatiusda cum, voluptio
Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat. 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 ## 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. 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 #### Blockquote without attribution
> Tiam, ad mint andaepu dandae nostion secatur sequo quae. > Tiam, ad mint andaepu dandae nostion secatur sequo quae.
> **Note** that you can use *Markdown syntax* within a blockquote. > **Note** that you can use *Markdown syntax* within a blockquote.
#### Blockquote with attribution #### Blockquote with attribution
> Don't communicate by sharing memory, share memory by communicating.</p> > Don't communicate by sharing memory, share memory by communicating.</p>
> — <cite>Rob Pike[^1]</cite> > — <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. [^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
@@ -69,8 +75,7 @@ Tables aren't part of the core Markdown spec, but Hugo supports supports them ou
#### Code block with backticks #### Code block with backticks
``` ``` html
html
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
+7 -1
View File
@@ -5,6 +5,7 @@ theme: "hugo-profile"
Paginate: 3 Paginate: 3
taxonomies: taxonomies:
tag: "tags" tag: "tags"
category: "categories" category: "categories"
@@ -14,7 +15,12 @@ params:
description: "Portfolio and personal blog of gurusabarish" description: "Portfolio and personal blog of gurusabarish"
googleanalytics: "" googleanalytics: ""
disqus: "" disqus: ""
contact: "false"
# Contact
contact: true
action: "https://formspree.io/xzbkbvgg"
emailname: "Gmail"
messagename: "message"
# Navbar Menus # Navbar Menus
customMenus: customMenus:
Binary file not shown.

After

Width:  |  Height:  |  Size: 129 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

+33
View File
@@ -0,0 +1,33 @@
<!DOCTYPE html>
<html lang="en">
<head>
{{- partial "head.html" . -}}
<!-- stylesheets -->
<link rel="stylesheet" href="/css/bootstrap.min.css">
</head>
<body>
{{- partial "header.html" . -}}
<div class="bg-light row justify-centent-center py-5">
<div class="display-4 font-weight-bold text-center col p-5">
404 page not found
<div class="text-center p-5">
<a href="{{ .Site.BaseURL }}" class="font-weight-bold btn btn-primary rounded-pill p-3 mb-2">Back to our
site</a>
</div>
</div>
</div>
<div class="fixed-bottom">
{{- partial "footer.html" . -}}
</div>
</div>
{{- partial "scripts.html" . -}}
</body>
</html>
+1 -1
View File
@@ -10,7 +10,7 @@
<link rel="stylesheet" href="/css/blog.css"> <link rel="stylesheet" href="/css/blog.css">
<!-- Fonts --> <!-- Fonts -->
<link href="https://fonts.googleapis.com/css2?family=PT+Serif&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Peddana&display=swap" rel="stylesheet">
</head> </head>
<body> <body>
+10 -17
View File
@@ -1,15 +1,12 @@
{{ define "main" }} {{ define "main" }}
<section> <section class="bg-light">
<div class="container"> <div class="container">
<div class="row justify-content-md-center"> <div class="row justify-content-md-center">
<div class="col-md-8"> <div class="col-md-8">
<!-- title and date --> <!-- title and date -->
<div> <div class="p-2">
<br>
<h1>{{.Title}}</h1> <h1>{{.Title}}</h1>
<div class="text-muted"> <div class="text-muted">
<!-- Date --> <!-- Date -->
<svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-calendar" fill="currentColor" <svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-calendar" fill="currentColor"
xmlns="http://www.w3.org/2000/svg"> xmlns="http://www.w3.org/2000/svg">
@@ -42,26 +39,23 @@
</svg> </svg>
</a> </a>
{{ end}} {{ end}}
</div> </div>
</div> </div>
<!-- image --> <!-- image -->
<br> <div class="py-2">
<div>
{{ with .Params.bg_image }} {{ with .Params.bg_image }}
<img class="img-fluid" src="{{ . | absURL }}"> <img class="img-fluid" src="{{ . }}">
{{ end }} {{ end }}
</div> </div>
<!-- content --> <!-- content -->
<br> <article>
<div>{{.Content}}</div> {{.Content}}
</article>
<!-- Tags --> <!-- Tags -->
<div class="row justify-content-center pt-3"> <div class="mb-4 pt-3">
<div class="col-lg-7 col-md-7">
<div class=" mb-4 pt-3">
<div class="card shadow "> <div class="card shadow ">
<h5 class="card-header bg-warning">Tags</h5> <h5 class="card-header bg-warning">Tags</h5>
<div class=" card-body"> <div class=" card-body">
@@ -75,11 +69,9 @@
</a> </a>
</div> </div>
</div> </div>
</div>
</div>
<br>
<div id="disqus_thread"></div> <div id="disqus_thread"></div>
<script> <script>
/** /**
@@ -101,6 +93,7 @@
</script> </script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by
Disqus.</a></noscript> Disqus.</a></noscript>
</div> </div>
</div> </div>
</div> </div>
-4
View File
@@ -1,7 +1,3 @@
{{ define "main" }}
{{ end }}
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
+5
View File
@@ -17,6 +17,11 @@
<li class="nav-item"> <li class="nav-item">
<a class="nav-link text-dark" href="{{ .Site.BaseURL }}#projects">Projects</a> <a class="nav-link text-dark" href="{{ .Site.BaseURL }}#projects">Projects</a>
</li> </li>
{{ if .Site.Params.contact }}
<li class="nav-item">
<a class="nav-link text-dark" href="{{ .Site.BaseURL }}#contact">Contact</a>
</li>
{{ end }}
{{ range site.Params.customMenus }} {{ range site.Params.customMenus }}
<li class="nav-item"> <li class="nav-item">
+5 -5
View File
@@ -1,21 +1,21 @@
{{ if eq .Site.Params.contact "true"}} {{ if .Site.Params.contact }}
<section id="contact"> <section id="contact">
<div class="contact bg-danger text-white"> <div class="contact bg-danger text-white">
<div class="text-center p-3 font-weight-bold contact-head">Get In Tough</div> <div class="text-center p-3 font-weight-bold contact-head">Get In Tough</div>
<div class="p-3 container"> <div class="p-3 container">
<div class="row justify-content-center"> <div class="row justify-content-center">
<div class="col-lg-7"> <div class="col-lg-7">
<form action="https://formspree.io/xzbkbvgg" method="POST"> <form action="{{ .Site.Params.action }}" method="POST">
<div class="form-group"> <div class="form-group">
<label for="exampleFormControlInput1">Email</label> <label for="exampleFormControlInput1">Email</label>
<input type="email" class="form-control" id="exampleFormControlInput1" <input type="email" class="form-control" id="exampleFormControlInput1"
placeholder="example@gmail.com" name="Gmail"> placeholder="example@gmail.com" name="{{ .Site.Params.emailname }}">
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="exampleFormControlTextarea1">Message</label> <label for="exampleFormControlTextarea1">Message</label>
<textarea class="form-control" id="exampleFormControlTextarea1" rows="3" name="message" <textarea class="form-control" id="exampleFormControlTextarea1" rows="3"
placeholder="Type something"></textarea> name="{{ .Site.Params.messagename }}" placeholder="Type something"></textarea>
</div> </div>
<div class="text-center"> <div class="text-center">
<button type="submit" class="btn btn-primary">Submit</button> <button type="submit" class="btn btn-primary">Submit</button>
+1 -1
View File
@@ -19,7 +19,7 @@
<li class="nav-item navbar-text"> <li class="nav-item navbar-text">
<a class="nav-link text-dark" href="{{ .Site.BaseURL }}#projects">Projects</a> <a class="nav-link text-dark" href="{{ .Site.BaseURL }}#projects">Projects</a>
</li> </li>
{{ if eq .Site.Params.contact "true"}} {{ if .Site.Params.contact }}
<li class="nav-item navbar-text"> <li class="nav-item navbar-text">
<a class="nav-link text-dark" href="{{ .Site.BaseURL }}#contact">Contact</a> <a class="nav-link text-dark" href="{{ .Site.BaseURL }}#contact">Contact</a>
</li> </li>
+117 -5
View File
@@ -1,7 +1,119 @@
/*blog*/ article {
font-family: 'Peddana', serif;
.border-bottom-primary { line-height: 1.3;
border-bottom: .25rem solid #4e73df !important; font-size: 27px;
} }
@media only screen and (max-width: 600px) {} article blockquote {
margin: 0 !;
border-left: 4px solid #248aaa !important;
background-color: #248baa15 !important;
padding: 0.3rem !important;
padding-left: 1rem !important;
}
article blockquote>p {
color: #3c4858 !important;
margin-top: 0.5rem !important;
margin-bottom: 0.5rem !important;
}
article h1,
h2 {
margin-top: 1.4rem;
font-size: 30px;
margin: 0 !;
border-left: 4px solid #a6bdc7 !important;
background-color: #d2dde015 !important;
padding: 0.3rem !important;
padding-left: 1rem !important;
}
article h3,
h4,
h5,
h6 {
margin-top: 1.3rem;
}
article table {
border-radius: 0.1rem;
background: #e5e9f2;
border: 1px solid #c0ccda;
padding: 0.1rem;
}
article table tr {
height: 40px !important;
}
article table th,
td {
padding: 0.5rem;
border-left: 1px solid #8392a5;
border-bottom: 1px solid #8392a5;
}
article table thead tr {
background: #248aaa;
color: #e5e9f2;
}
article tbody tr:nth-child(odd) {
background-color: #e5e9f2;
}
article tbody tr:hover {
background: #c0ccda;
}
article img {
max-width: 100%;
}
article caption,
figcaption {
caption-side: bottom;
text-align: center;
color: #8392a5;
}
article pre {
margin: 5px;
background-color: lavender;
padding: 5%;
font-size: 70%;
}
article pre>code {
padding: 10px !important;
}
article a.header-anchor {
text-decoration: none;
color: #1c2d41;
}
article a.header-anchor i {
font-size: 10pt;
color: #3c4858;
display: none;
margin-left: 0.5rem;
}
article a.header-anchor:hover i {
display: inline-block;
}
article a.header-anchor code {
color: #e83e8c;
}
article kbd {
background-color: #248aaa !important;
color: #f9fafc;
}
article mark {
background-color: #ffc21280;
}
+11139 -1
View File
File diff suppressed because one or more lines are too long