Quellcode durchsuchen

minor design changes

pull/1/head
Rohan Verma vor 6 Jahren
Ursprung
Commit
2a51793ee7
6 geänderte Dateien mit 37 neuen und 15 gelöschten Zeilen
  1. +1
    -1
      config.toml
  2. +2
    -1
      content/blog/_index.md
  3. +1
    -1
      layouts/_default/list.html
  4. +14
    -9
      layouts/index.html
  5. +13
    -0
      layouts/partials/powered-by.html
  6. +6
    -3
      layouts/section/blog_list.html

+ 1
- 1
config.toml Datei anzeigen

@@ -24,7 +24,7 @@ footnoteReturnLinkContents = "↩" # Provides a nicer footnote return link
description = "My Website" # Suggested, controls default description meta
author = "Rohan Verma" # Optional, controls author name display on posts
hide_author = false # Optional, set true to hide author name on posts
has_cookies = false # Optional, set true to disable cookie disclaimer
has_cookies = true # Optional, set true to disable cookie disclaimer
disable_csp = false # Optional, set true to disable content security policy
images = [
"https://source.unsplash.com/collection/983219/2000x1322"

+ 2
- 1
content/blog/_index.md Datei anzeigen

@@ -1,3 +1,4 @@
---
title: "Blog"
title: "Blogs"
listing: "/blog_list"
---

+ 1
- 1
layouts/_default/list.html Datei anzeigen

@@ -3,7 +3,7 @@
{{ end }}
{{ define "main" }}
<header>
<h1>{{ .Title }}</h1>
<h1>{{ .Title }} <small><a href="{{ .Params.listing }}">Full Listing</a></small></h1>
</header>
{{ range .Paginator.Pages }}
{{ partial "page-summary.html" . }}

+ 14
- 9
layouts/index.html Datei anzeigen

@@ -20,21 +20,26 @@
<br>
<h2>About</h2>
I’m a Software Developer working at <a class="no-underline text-grey-dark" href="https://zerodha.com/products">Zerodha Tech</a>.

<br>
<br>
<h2>Social</h2>
<table>
<tr><td>github</td> <td><a href="https://github.com/rhnvrm">https://github.com/rhnvrm</a></td></tr>
<tr><td>keybase</td> <td><a href="https://keybase.io/rhnvrm">https://keybase.io/rhnvrm</a></td></tr>
<tr><td>twitter</td> <td><a href="https://twitter.com/rhnvrm">https://twitter.com/rhnvrm</a></td></tr>
<tr><td>linkedin</td> <td><a href="https://www.linkedin.com/in/rhnvrm/">https://www.linkedin.com/in/rhnvrm/</a></td></tr>
<tr><td>youtube</td> <td><a href="https://www.youtube.com/user/TheRohanVerma">https://www.youtube.com/user/TheRohanVerma</a></td></tr>
</table>

<h2>Projects</h2>

My latest sideproject is <a class="no-underline text-grey-dark" href="https://upi.link/">upi.link</a>, a small and nifty
programmable UPI shortlink generator.

<br>
<br>
<li>
<ul><b>github</b>: <a href="https://github.com/rhnvrm">https://github.com/rhnvrm</a></ul>
<ul><b>keybase</b>: <a href="https://keybase.io/rhnvrm">https://keybase.io/rhnvrm</a></ul>
<ul><b>twitter</b>: <a href="https://twitter.com/rhnvrm">https://twitter.com/rhnvrm</a></ul>
<ul><b>linkedin</b>: <a href="https://www.linkedin.com/in/rhnvrm/">https://www.linkedin.com/in/rhnvrm/</a></ul>
<ul><b>youtube</b>: <a href="https://www.youtube.com/user/TheRohanVerma">https://www.youtube.com/user/TheRohanVerma</a></ul>
</li>
<br>
<br>

<h2>Blog</h2>

You can read my <a class="no-underline text-grey-dark" href="/blog">blog</a> where

+ 13
- 0
layouts/partials/powered-by.html Datei anzeigen

@@ -0,0 +1,13 @@
{{ if ne .Site.Params.has_cookies false }}
<br>
<br>
<small class="muted">
&copy; 2019 - Rohan Verma.
<br>
Feel free to use the content of this website with approripate attribution to the author.
<br>
This page was generated using
{{ partial "components/external.html" (dict "itemtype" "significantLink" "body" "After Dark" "href" "https://after-dark.habd.as" "referrerpolicy" "origin-when-cross-origin") }}
for Hugo.
</small>
{{ end }}

+ 6
- 3
layouts/section/blog_list.html Datei anzeigen

@@ -10,13 +10,16 @@
</header>
<section>
<ul class="all-posts">
<table class="all-posts">
{{range .Site.RegularPages}}
{{if .Date}}
<li>{{.Date.Format "2006-01-02"}} <a href="{{.Permalink}}">{{.Title}}</a></li>
<tr>
<td>{{.Date.Format "2006-01-02"}}</td>
<td><a href="{{.Permalink}}">{{.Title}}</a></td>
</tr>
{{end}}
{{end}}
</ul>
</table>
</section>

{{ end }}

Laden…
Abbrechen
Speichern