Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nathancday/min_night.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNate <nathancday@gmail.com>2018-04-23 03:36:47 +0300
committerNate <nathancday@gmail.com>2018-04-23 03:36:47 +0300
commit6f41fa1fd4edacae0bec82246332b27b6075e15e (patch)
tree11a107f970f07558337a4b802fe362fe913cb616
parenta5c5c0263e3a34439d4148eb423922d6cc20a534 (diff)
index with avatar.png, intro line and desciptor paragraph
-rw-r--r--exampleSite/config.toml5
-rw-r--r--layouts/index.html14
-rw-r--r--static/css/main.css2
3 files changed, 12 insertions, 9 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 1c8db40..dd13d78 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -11,7 +11,7 @@ ignoreFiles = ["\\.Rmd$", "\\.Rmarkdown$", "public/"]
post = "/:year/:month/:day/:slug/"
[params]
- author = ""
+ author = "Nate"
description = "A sleek dark-mode-able Hugo theme"
githubUsername = "nathancday"
accent = "#386890" # dark colors do best
@@ -19,8 +19,9 @@ ignoreFiles = ["\\.Rmd$", "\\.Rmarkdown$", "public/"]
backgroundColor = "#f5f5f5"
font = "Mina" # should match the name on Google Fonts!
highlight = true
- highlightStyle = "tomorrow-night-blue" # make this match accent
+ highlightStyle = "lakeside-light" # make this match accent
highlightLanguages = ["r", "go"]
+ avatar = "profile.png"
# adjust these as you see fit
[[menu.main]]
diff --git a/layouts/index.html b/layouts/index.html
index 897090e..d7786ba 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -4,12 +4,14 @@
<div class="intro">
- {{ with .Site.Params.profilePic }} <img class="profile" src="{{ . }}"> {{ end }}
-
- <h1>{{ .Site.Title }}</h1>
-
- <h2>{{ markdownify .Site.Params.Description }}</h2>
-
+ <div class="avatar">
+ <img class="img-circle" src="{{ .Site.BaseURL }}img/{{ .Site.Params.avatar }}" alt="Responsive image">
+ </div>
+
+ <h2>Hi my name is {{ .Site.Params.author }}, and I am a data explorer.</h2>
+ <div style = "width: 66%; margin: 0 auto;">
+ <h4>By day I do drug discovery, building analysis pipelines and constucting reactive front ends for research. By night I dive into civic data to help the community make better decisions and to keep myself learning. I love all things science and I'm eagar for new challenges where I can help make the world a better place.</h4>
+ </div>
</div>
</main>
diff --git a/static/css/main.css b/static/css/main.css
index 236fb67..f17a459 100644
--- a/static/css/main.css
+++ b/static/css/main.css
@@ -26,7 +26,7 @@ main {
/*home page*/
.intro {
- transform: translateY(80%);
+ /* transform: translateY(80%); */
}
.intro > h1 {