blog post mobile view update

This commit is contained in:
gurusabarish
2021-03-15 13:10:58 +05:30
parent a19418481d
commit 98ca5e1afa
5 changed files with 54 additions and 50 deletions
+3 -3
View File
@@ -64,9 +64,9 @@ Tables aren't part of the core Markdown spec, but Hugo supports supports them ou
#### Inline Markdown within tables
| Inline    | Markdown    | In    | Table |
| ------------------------ | -------------------------- | ----------------------------------- | ------ |
| *italics* | **bold** | ~~strikethrough~~    | `code` |
| Inline    | Markdown    | In    |
| ------------------------ | -------------------------- | ----------------------------------- |
| *italics* | **bold** | ~~strikethrough~~    |
## Code Blocks
+4 -4
View File
@@ -64,15 +64,15 @@ Tables aren't part of the core Markdown spec, but Hugo supports supports them ou
#### Inline Markdown within tables
| Inline    | Markdown    | In    | Table |
| ------------------------ | -------------------------- | ----------------------------------- | ------ |
| *italics* | **bold** | ~~strikethrough~~    | `code` |
| Inline    | Markdown    | In    |
| ------------------------ | -------------------------- | ----------------------------------- |
| *italics* | **bold** | ~~strikethrough~~    |
## Code Blocks
#### Code block with backticks
``` html
``` html
<!DOCTYPE html>
<html lang="en">
<head>
+5 -3
View File
@@ -43,12 +43,14 @@ The blockquote element represents content that is quoted from another source, op
> 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
@@ -62,9 +64,9 @@ Tables aren't part of the core Markdown spec, but Hugo supports supports them ou
#### Inline Markdown within tables
| Inline&nbsp;&nbsp;&nbsp; | Markdown&nbsp;&nbsp;&nbsp; | In&nbsp;&nbsp;&nbsp; | Table |
| ------------------------ | -------------------------- | ----------------------------------- | ------ |
| *italics* | **bold** | ~~strikethrough~~&nbsp;&nbsp;&nbsp; | `code` |
| Inline&nbsp;&nbsp;&nbsp; | Markdown&nbsp;&nbsp;&nbsp; | In&nbsp;&nbsp;&nbsp; |
| ------------------------ | -------------------------- | ----------------------------------- |
| *italics* | **bold** | ~~strikethrough~~&nbsp;&nbsp;&nbsp; |
## Code Blocks
+4 -4
View File
@@ -64,15 +64,15 @@ Tables aren't part of the core Markdown spec, but Hugo supports supports them ou
#### Inline Markdown within tables
| Inline&nbsp;&nbsp;&nbsp; | Markdown&nbsp;&nbsp;&nbsp; | In&nbsp;&nbsp;&nbsp; | Table |
| ------------------------ | -------------------------- | ----------------------------------- | ------ |
| *italics* | **bold** | ~~strikethrough~~&nbsp;&nbsp;&nbsp; | `code` |
| Inline&nbsp;&nbsp;&nbsp; | Markdown&nbsp;&nbsp;&nbsp; | In&nbsp;&nbsp;&nbsp; |
| ------------------------ | -------------------------- | ----------------------------------- |
| *italics* | **bold** | ~~strikethrough~~&nbsp;&nbsp;&nbsp; |
## Code Blocks
#### Code block with backticks
``` html
``` html
<!DOCTYPE html>
<html lang="en">
<head>
+38 -36
View File
@@ -11,50 +11,52 @@
<section class="mincho-font">
<div class="py-4 bg-info text-center">
<!-- title and date -->
<h1 class="blog-title font-weight-bold">{{.Title}}</h1>
<div class="">
<!-- Date -->
<span class="px-1">
<svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-calendar" fill="currentColor"
xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd"
d="M1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1zm1-3a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2H2z" />
<path fill-rule="evenodd"
d="M3.5 0a.5.5 0 0 1 .5.5V1a.5.5 0 0 1-1 0V.5a.5.5 0 0 1 .5-.5zm9 0a.5.5 0 0 1 .5.5V1a.5.5 0 0 1-1 0V.5a.5.5 0 0 1 .5-.5z" />
</svg>
</span>
{{ dateFormat "Jan 2, 2006" .Date }}
<div class="container-fluid">
<!-- title and date -->
<h1 class="blog-title font-weight-bold">{{.Title}}</h1>
<div class="">
<!-- Date -->
<span class="px-1">
<svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-calendar" fill="currentColor"
xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd"
d="M1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1zm1-3a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2H2z" />
<path fill-rule="evenodd"
d="M3.5 0a.5.5 0 0 1 .5.5V1a.5.5 0 0 1-1 0V.5a.5.5 0 0 1 .5-.5zm9 0a.5.5 0 0 1 .5.5V1a.5.5 0 0 1-1 0V.5a.5.5 0 0 1 .5-.5z" />
</svg>
</span>
{{ dateFormat "Jan 2, 2006" .Date }}
<!-- Author -->
{{ if .Params.author }}
<span class="px-1">
<svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-person-fill" fill="currentColor"
xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" d="M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6z" />
</svg>
</span>
{{ .Params.author }}
{{ end }}
<!-- Author -->
{{ if .Params.author }}
<span class="px-1">
<svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-person-fill" fill="currentColor"
xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" d="M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6z" />
</svg>
</span>
{{ .Params.author }}
{{ end }}
<div class="pt-3">
<a href="https://twitter.com/share?ref_src=twsrc%5Etfw" data-size=large class="twitter-share-button"
data-show-count="false">Tweet my work</a>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
<div class="pt-3">
<a href="https://twitter.com/share?ref_src=twsrc%5Etfw" data-size=large class="twitter-share-button"
data-show-count="false">Tweet my work</a>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
</div>
</div>
</div>
{{ if .Site.Params.showdescription }}
<div class="text-dark py-2">
{{ .Params.description }}
{{ if .Site.Params.showdescription }}
<div class="text-dark py-2">
{{ .Params.description }}
</div>
{{ end }}
</div>
{{ end }}
</div>
<div class="container-fluid">
<div class="container">
<div class="row justify-content-center ">
<div class="col-md-8 p-3">
<div class="col-md-9 p-3">
<div class="px-md-3">
<!-- image -->
@@ -70,7 +72,7 @@
</article>
</div>
<!-- Tags -->
<div class="mb-4 p-5">
<div class="p-5">
<div class="card">
<h5 class="card-header text-center m-0">Tags</h5>
<div class="card-body">