update
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
## 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
|
||||
@@ -69,8 +75,7 @@ Tables aren't part of the core Markdown spec, but Hugo supports supports them ou
|
||||
|
||||
#### Code block with backticks
|
||||
|
||||
```
|
||||
html
|
||||
``` html
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
|
||||
@@ -5,6 +5,7 @@ theme: "hugo-profile"
|
||||
|
||||
Paginate: 3
|
||||
|
||||
|
||||
taxonomies:
|
||||
tag: "tags"
|
||||
category: "categories"
|
||||
@@ -14,8 +15,13 @@ params:
|
||||
description: "Portfolio and personal blog of gurusabarish"
|
||||
googleanalytics: ""
|
||||
disqus: ""
|
||||
contact: "false"
|
||||
|
||||
|
||||
# Contact
|
||||
contact: true
|
||||
action: "https://formspree.io/xzbkbvgg"
|
||||
emailname: "Gmail"
|
||||
messagename: "message"
|
||||
|
||||
# Navbar Menus
|
||||
customMenus:
|
||||
- name: "Blog"
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 129 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 59 KiB |
@@ -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>
|
||||
@@ -2,22 +2,22 @@
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
{{- partial "head.html" . -}}
|
||||
<meta name="description" content="{{ .Params.description }}" />
|
||||
{{- partial "head.html" . -}}
|
||||
<meta name="description" content="{{ .Params.description }}" />
|
||||
|
||||
<!-- stylesheets -->
|
||||
<link rel="stylesheet" href="/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="/css/blog.css">
|
||||
<!-- stylesheets -->
|
||||
<link rel="stylesheet" href="/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="/css/blog.css">
|
||||
|
||||
<!-- Fonts -->
|
||||
<link href="https://fonts.googleapis.com/css2?family=PT+Serif&display=swap" rel="stylesheet">
|
||||
<!-- Fonts -->
|
||||
<link href="https://fonts.googleapis.com/css2?family=Peddana&display=swap" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
{{- partial "header.html" . -}}
|
||||
{{- block "main" . -}}{{- end }}
|
||||
{{- partial "footer.html" . -}}
|
||||
{{- partial "scripts.html" . -}}
|
||||
{{- partial "header.html" . -}}
|
||||
{{- block "main" . -}}{{- end }}
|
||||
{{- partial "footer.html" . -}}
|
||||
{{- partial "scripts.html" . -}}
|
||||
|
||||
</body>
|
||||
|
||||
|
||||
@@ -1,15 +1,12 @@
|
||||
{{ define "main" }}
|
||||
<section>
|
||||
<section class="bg-light">
|
||||
<div class="container">
|
||||
<div class="row justify-content-md-center">
|
||||
<div class="col-md-8">
|
||||
|
||||
<!-- title and date -->
|
||||
<div>
|
||||
<br>
|
||||
<div class="p-2">
|
||||
<h1>{{.Title}}</h1>
|
||||
<div class="text-muted">
|
||||
|
||||
<!-- Date -->
|
||||
<svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-calendar" fill="currentColor"
|
||||
xmlns="http://www.w3.org/2000/svg">
|
||||
@@ -42,44 +39,39 @@
|
||||
</svg>
|
||||
</a>
|
||||
{{ end}}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- image -->
|
||||
<br>
|
||||
<div>
|
||||
<div class="py-2">
|
||||
{{ with .Params.bg_image }}
|
||||
<img class="img-fluid" src="{{ . | absURL }}">
|
||||
<img class="img-fluid" src="{{ . }}">
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
<!-- content -->
|
||||
<br>
|
||||
<div>{{.Content}}</div>
|
||||
<article>
|
||||
{{.Content}}
|
||||
</article>
|
||||
|
||||
<!-- Tags -->
|
||||
<div class="row justify-content-center pt-3">
|
||||
<div class="col-lg-7 col-md-7">
|
||||
<div class=" mb-4 pt-3">
|
||||
<div class="card shadow ">
|
||||
<h5 class="card-header bg-warning">Tags</h5>
|
||||
<div class=" card-body">
|
||||
{{ if .Params.tags }}
|
||||
{{ range .Params.tags }}
|
||||
<a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}"
|
||||
class="btn btn-warning rounded-pill mb-2">{{ . }}</a>
|
||||
{{end}}
|
||||
{{end}}
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
<div class="mb-4 pt-3">
|
||||
<div class="card shadow ">
|
||||
<h5 class="card-header bg-warning">Tags</h5>
|
||||
<div class=" card-body">
|
||||
{{ if .Params.tags }}
|
||||
{{ range .Params.tags }}
|
||||
<a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}"
|
||||
class="btn btn-warning rounded-pill mb-2">{{ . }}</a>
|
||||
{{end}}
|
||||
{{end}}
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<br>
|
||||
|
||||
<div id="disqus_thread"></div>
|
||||
<script>
|
||||
/**
|
||||
@@ -101,6 +93,7 @@
|
||||
</script>
|
||||
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by
|
||||
Disqus.</a></noscript>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
{{ define "main" }}
|
||||
|
||||
{{ end }}
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
|
||||
@@ -17,6 +17,11 @@
|
||||
<li class="nav-item">
|
||||
<a class="nav-link text-dark" href="{{ .Site.BaseURL }}#projects">Projects</a>
|
||||
</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 }}
|
||||
<li class="nav-item">
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
{{ if eq .Site.Params.contact "true"}}
|
||||
{{ if .Site.Params.contact }}
|
||||
<section id="contact">
|
||||
<div class="contact bg-danger text-white">
|
||||
<div class="text-center p-3 font-weight-bold contact-head">Get In Tough</div>
|
||||
<div class="p-3 container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-lg-7">
|
||||
<form action="https://formspree.io/xzbkbvgg" method="POST">
|
||||
<form action="{{ .Site.Params.action }}" method="POST">
|
||||
<div class="form-group">
|
||||
<label for="exampleFormControlInput1">Email</label>
|
||||
<input type="email" class="form-control" id="exampleFormControlInput1"
|
||||
placeholder="[email protected]" name="Gmail">
|
||||
placeholder="[email protected]" name="{{ .Site.Params.emailname }}">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="exampleFormControlTextarea1">Message</label>
|
||||
<textarea class="form-control" id="exampleFormControlTextarea1" rows="3" name="message"
|
||||
placeholder="Type something"></textarea>
|
||||
<textarea class="form-control" id="exampleFormControlTextarea1" rows="3"
|
||||
name="{{ .Site.Params.messagename }}" placeholder="Type something"></textarea>
|
||||
</div>
|
||||
<div class="text-center">
|
||||
<button type="submit" class="btn btn-primary">Submit</button>
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<li class="nav-item navbar-text">
|
||||
<a class="nav-link text-dark" href="{{ .Site.BaseURL }}#projects">Projects</a>
|
||||
</li>
|
||||
{{ if eq .Site.Params.contact "true"}}
|
||||
{{ if .Site.Params.contact }}
|
||||
<li class="nav-item navbar-text">
|
||||
<a class="nav-link text-dark" href="{{ .Site.BaseURL }}#contact">Contact</a>
|
||||
</li>
|
||||
|
||||
+117
-5
@@ -1,7 +1,119 @@
|
||||
/*blog*/
|
||||
|
||||
.border-bottom-primary {
|
||||
border-bottom: .25rem solid #4e73df !important;
|
||||
article {
|
||||
font-family: 'Peddana', serif;
|
||||
line-height: 1.3;
|
||||
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;
|
||||
}
|
||||
Vendored
+11139
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user