diff options
author | fncnt <github@vncnt.eu> | 2019-02-03 23:35:52 +0300 |
---|---|---|
committer | fncnt <github@vncnt.eu> | 2019-02-03 23:35:52 +0300 |
commit | dcaefe025cba9131eaa1965ebc9e11e2532e5d1b (patch) | |
tree | fdf24c2d72b7a266e4e507dff35ceb755b39d707 | |
parent | 8b9955ea0b4262c9b9b5135315cd78a7031ce7a2 (diff) |
Replace tabs by 2 spaces for overall consistency.
-rw-r--r-- | config.toml | 4 | ||||
-rw-r--r-- | layouts/partials/body.html | 76 | ||||
-rw-r--r-- | layouts/partials/head.html | 14 | ||||
-rw-r--r-- | layouts/partials/includes.html | 6 | ||||
-rw-r--r-- | layouts/partials/scripts.html | 2 |
5 files changed, 50 insertions, 52 deletions
diff --git a/config.toml b/config.toml index e405442..ded82a6 100644 --- a/config.toml +++ b/config.toml @@ -29,11 +29,9 @@ bio = "First Row. \nSecond Row." avatar = "img/avatar.jpg" favicon = "img/favicon.ico" - [params.contact] + [params.contact] email = "john.doe@example.com" github = "jdoe" instagram = "jdoe" twitter = "jdoe" ello = "" - - diff --git a/layouts/partials/body.html b/layouts/partials/body.html index 526bd71..d354aac 100644 --- a/layouts/partials/body.html +++ b/layouts/partials/body.html @@ -1,38 +1,38 @@ - <div class="landingpage remove-p-margin"> - <div class="row"> - <div class="five columns"> - <section id="avatar"> - <img class="avatar" src="{{.Site.Params.avatar}}"> - </section> - </div> - <div class="seven columns"> - <div class="autocenter"> - <section id="bio"> - <h3>{{ .Site.Params.author }}</h3> - <p class="reset-margin">{{ .Site.Params.bio | markdownify }}</p> - </section> - <section id="contact"> - <div class="icons"> - <h3> - {{ with .Site.Params.contact.email }}<a class="icon" href="mailto:{{ . }}"> - <i class="fas fa-envelope" aria-hidden="true"></i> - </a>{{ end }} - {{ with .Site.Params.contact.github }}<a class="icon" href="https://github.com/{{ . }}" target="_blank"> - <i class="fab fa-github" aria-hidden="true"></i> - </a>{{ end }} - {{ with .Site.Params.contact.twitter }}<a class="icon" href="https://twitter.com/{{ . }}" target="_blank"> - <i class="fab fa-twitter" aria-hidden="true"></i> - </a>{{ end }} - {{ with .Site.Params.contact.instagram }}<a class="icon" href="https://instagram.com/{{ . }}" target="_blank"> - <i class="fab fa-instagram" aria-hidden="true"></i> - </a>{{ end }} - {{ with .Site.Params.contact.ello }}<a class="icon" href="https://ello.co/{{ . }}" target="_blank"> - <i class="fab fa-ello" aria-hidden="true"></i> - </a>{{ end }} - </h3> - </div> - </section> - </div> - </div> - </div> - </div> + <div class="landingpage remove-p-margin"> + <div class="row"> + <div class="five columns"> + <section id="avatar"> + <img class="avatar" src="{{.Site.Params.avatar}}"> + </section> + </div> + <div class="seven columns"> + <div class="autocenter"> + <section id="bio"> + <h3>{{ .Site.Params.author }}</h3> + <p class="reset-margin">{{ .Site.Params.bio | markdownify }}</p> + </section> + <section id="contact"> + <div class="icons"> + <h3> + {{ with .Site.Params.contact.email }}<a class="icon" href="mailto:{{ . }}"> + <i class="fas fa-envelope" aria-hidden="true"></i> + </a>{{ end }} + {{ with .Site.Params.contact.github }}<a class="icon" href="https://github.com/{{ . }}" target="_blank"> + <i class="fab fa-github" aria-hidden="true"></i> + </a>{{ end }} + {{ with .Site.Params.contact.twitter }}<a class="icon" href="https://twitter.com/{{ . }}" target="_blank"> + <i class="fab fa-twitter" aria-hidden="true"></i> + </a>{{ end }} + {{ with .Site.Params.contact.instagram }}<a class="icon" href="https://instagram.com/{{ . }}" target="_blank"> + <i class="fab fa-instagram" aria-hidden="true"></i> + </a>{{ end }} + {{ with .Site.Params.contact.ello }}<a class="icon" href="https://ello.co/{{ . }}" target="_blank"> + <i class="fab fa-ello" aria-hidden="true"></i> + </a>{{ end }} + </h3> + </div> + </section> + </div> + </div> + </div> + </div> diff --git a/layouts/partials/head.html b/layouts/partials/head.html index d125d6e..2ae4129 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,9 +1,9 @@ <head> - <meta charset="utf-8"> - {{with .Site.Title}}<title>{{.}}</title>{{end}} - {{with .Site.Params.description}}<meta name="description" content="{{.}}">{{end}} - {{ with .Site.Params.author }}<meta name="author" content="{{.}}">{{end}} - <meta name="viewport" content="width=device-width, initial-scale=1"> - {{partial "includes" . }}{{partial "scripts" . }} - {{ with .Site.Params.favicon }}<link rel="shortcut icon" href="/{{.}}">{{ end }} + <meta charset="utf-8"> + {{with .Site.Title}}<title>{{.}}</title>{{end}} + {{with .Site.Params.description}}<meta name="description" content="{{.}}">{{end}} + {{ with .Site.Params.author }}<meta name="author" content="{{.}}">{{end}} + <meta name="viewport" content="width=device-width, initial-scale=1"> + {{partial "includes" . }}{{partial "scripts" . }} + {{ with .Site.Params.favicon }}<link rel="shortcut icon" href="/{{.}}">{{ end }} </head> diff --git a/layouts/partials/includes.html b/layouts/partials/includes.html index d88f6a6..f7b2951 100644 --- a/layouts/partials/includes.html +++ b/layouts/partials/includes.html @@ -1,4 +1,4 @@ <link rel="stylesheet" href="css/fonts.css" type="text/css"> - <link rel="stylesheet" href="css/normalize.css"> - <link rel="stylesheet" href="css/all.min.css"> - <link rel="stylesheet" href="css/vncnt.css"> + <link rel="stylesheet" href="css/normalize.css"> + <link rel="stylesheet" href="css/all.min.css"> + <link rel="stylesheet" href="css/vncnt.css"> diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html index c7f4ad0..1f0efdb 100644 --- a/layouts/partials/scripts.html +++ b/layouts/partials/scripts.html @@ -1 +1 @@ - <!-- Scripts --------------------------------––––––––––––––––––––––––––––– --> + <!-- Scripts --------------------------------––––––––––––––––––––––––––––– --> |