Skip to content

Commit

Permalink
Add personal info to site.
Browse files Browse the repository at this point in the history
  • Loading branch information
01100100 committed Jan 12, 2024
1 parent 0c37343 commit 3646606
Show file tree
Hide file tree
Showing 16 changed files with 492 additions and 7 deletions.
5 changes: 0 additions & 5 deletions archetypes/default.md

This file was deleted.

191 changes: 191 additions & 0 deletions assets/css/_page/_home.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,191 @@
.home {
.home-profile {
@include transform(translateY( 16vh));
padding: 0 0 .5rem;
text-align: center;

.home-avatar {
padding: .5rem;

img {
display: inline-block;
width: 12rem;
height: auto;
margin: 0 auto;
@include border-radius(100%);
@include box-shadow(0 0 0 .3618em rgba(0, 0, 0, .05));
@include transition(all 0.4s ease);

&:hover {
position: relative;
@include transform(translateY(-.75rem));
}
}
}

.home-title {
font-size: 1.25rem;
font-weight: bold;
margin: 0;
padding: .5rem;
}

.home-subtitle {
font-size: 1rem;
font-weight: normal;
margin: 0;
padding: .5rem;
}

.links {
padding: .5rem;
font-size: 1.5rem;

a * {
vertical-align: text-bottom;
}

img {
height: 1.5rem;
padding: 0 .25rem;
}
}

.home-disclaimer {
font-size: 1rem;
line-height: 1.5rem;
font-weight: normal;
margin: 0;
padding: .5rem;
color: $global-font-secondary-color;

[theme=dark] & {
color: $global-font-secondary-color-dark;
}
[theme=black] & {
color: $global-font-secondary-color-black;
}
}
}
}

.home[posts] {
.home-profile {
@include transform(translateY(0));
padding-top: 2rem;
}

.home-avatar img {
width: 16rem;
}

.summary {
padding-top: 1rem;
padding-bottom: .8rem;
color: $global-font-color;
border-bottom: 3px dashed $global-border-color;

[theme=dark] & {
color: $global-font-color-dark;
border-bottom: 3px dashed $global-border-color-dark;
}
[theme=black] & {
color: $global-font-color-black;
border-bottom: 3px dashed $global-border-color-black;
}

.featured-image-preview {
width: 100%;
padding: 30% 0 0;
position: relative;
margin: 0.6rem auto;
@include transition(transform 0.4s ease);

img {
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
object-fit: cover
}


&:hover {
@include transform(scale(1.01));
}
}

.single-title {
font-size: 1.25rem;
line-height: 140%;
margin: 0.4rem 0;
}

.content {
@include box(vertical);
margin-top: .3rem;
width: 100%;
overflow: hidden;
text-overflow: ellipsis;
@include overflow-wrap(break-word);
color: $global-font-secondary-color;

[theme=dark] & {
color: $global-font-secondary-color-dark;
}
[theme=black] & {
color: $global-font-secondary-color-black;
}

h2,
h3,
h4,
h5,
h6,
p {
font-size: 1rem;
line-height: 1.5;
display: inline;

&::after {
content: "\A";
white-space: pre;
}
}

h2 {
font-size: 1.125rem;
}

@include link(false, true);

b, strong {
color: $global-font-secondary-color;

[theme=dark] & {
color: $global-font-secondary-color-dark;
}
[theme=black] & {
color: $global-font-secondary-color-black;
}
}
}

.post-footer {
margin-top: .4rem;
display: flex;
justify-content: space-between;
align-items: center;
font-size: .875rem;

@include link(false, false);

.post-tags {
padding: 0;

@include link(true, true);
}
}
}
}
179 changes: 177 additions & 2 deletions hugo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,178 @@
baseURL = '01100100.github.io'
languageCode = 'en-us'
title = 'Data Dave Blog'
languageCode = 'en'
title = "Data Dave's Blog"
defaultContentLanguage = "en"
theme = "DoIt"

[menu]
[[menu.main]]
identifier = "posts"
# you can add extra information before the name (HTML format is supported), such as icons
pre = ""
# you can add extra information after the name (HTML format is supported), such as icons
post = ""
name = "Posts"
url = "/posts/"
# title will be shown when you hover on this menu link
title = ""
weight = 1

[params]
gitRepo = "https://github.com/01100100/"


[params.home.profile]
enable = true
# URL of avatar shown in home page
avatarURL = "images/transbalkans.jpg"
# URL the avatar links to
avatarLinkURL = ""
# title = "This is me riding the TransBalkanRace in 2023"
# subtitle shown in home page
subtitle = "Geodata Engineer passionate about clean code, cycling and exploring nature 🌎💻🚵‍♂️🌲"
# whether to use typeit animation for subtitle
typeit = false
# whether to show social links
social = true
# DoIt NEW | 0.2.0 disclaimer (HTML format is supported)

# Footer config
[params.footer]
enable = false

# Social config about the author
[params.social]
GitHub = "01100100"
Linkedin = ""
Twitter = ""
Instagram = ""
Facebook = ""
Telegram = ""
Medium = ""
Gitlab = ""
Youtubelegacy = ""
Youtubecustom = ""
Youtubechannel = ""
Tumblr = ""
Quora = ""
Keybase = ""
Pinterest = ""
Reddit = ""
Codepen = ""
FreeCodeCamp = ""
Bitbucket = ""
Stackoverflow = ""
Weibo = ""
Odnoklassniki = ""
VK = ""
Flickr = ""
Xing = ""
Snapchat = ""
Soundcloud = ""
Spotify = ""
Bandcamp = ""
Paypal = ""
Fivehundredpx = ""
Mix = ""
Goodreads = ""
Lastfm = ""
Foursquare = ""
Hackernews = ""
Kickstarter = ""
Patreon = ""
Steam = ""
Twitch = ""
Strava = "17866884"
Skype = ""
Whatsapp = ""
Zhihu = ""
Douban = ""
Angellist = ""
Slidershare = ""
Jsfiddle = ""
Deviantart = ""
Behance = ""
Dribbble = ""
Wordpress = ""
Vine = ""
Googlescholar = ""
Researchgate = ""
Mastodon = ""
Thingiverse = ""
Devto = ""
Gitea = ""
XMPP = ""
Matrix = ""
Bilibili = ""
ORCID = ""
Liberapay = ""
Ko-Fi = ""
BuyMeACoffee = ""
Linktree = ""
QQ = ""
QQGroup = ""
Email = "[email protected]"
RSS = true

[params.header]
themeChangeMode = "switch"
[params.header.title]
# URL of the LOGO
logo = ""
# title name
name = "Data Dave's Blog"
# you can add extra information before the name (HTML format is supported), such as icons
pre = ">"
# you can add extra information after the name (HTML format is supported), such as icons
post = ""
# DoIt NEW | 0.2.5 whether to use typeit animation for title name
typeit = true

[params.typeit]
# typing speed between each step (measured in milliseconds)
speed = 100
# blinking speed of the cursor (measured in milliseconds)
cursorSpeed = 1000
# character used for the cursor (HTML format is supported)
cursorChar = "|"
# cursor duration after typing finishing (measured in milliseconds, "-1" means unlimited)
duration = -1

[params.page]
# DoIt NEW | 0.2.0 whether to hide a page from home page
hiddenFromHomePage = false
# DoIt NEW | 0.2.0 whether to hide a page from search results
hiddenFromSearch = false
# DoIt NEW | 0.2.0 whether to enable twemoji
twemoji = false
# whether to enable lightgallery
lightgallery = false
# DoIt NEW | 0.2.0 whether to enable the ruby extended syntax
ruby = true
# DoIt NEW | 0.2.0 whether to enable the fraction extended syntax
fraction = true
# DoIt NEW | 0.2.0 whether to enable the fontawesome extended syntax
fontawesome = true
# whether to show link to Raw Markdown content of the content
linkToMarkdown = true
# DoIt NEW | 0.2.14 configure the link to the source file of the post
linkToSource = false
# "https://github.com/user/repo/blob/main/{path}"
# DoIt NEW | 0.2.13 configure the link to edit the post
linkToEdit = false
# "https://github.com/user/repo/edit/main/{path}"
# "https://gitlab.com/user/repo/-/edit/main/{path}"
# "https://bitbucket.org/user/repo/src/main/{path}?mode=edit"
# DoIt NEW | 0.2.14 configure the link to report issue for the post
linkToReport = false
# "https://github.com/user/repo/issues/new?title=[bug]%20{title}&body=|Field|Value|%0A|-|-|%0A|Title|{title}|%0A|Url|{url}|%0A|Filename|https://github.com/user/repo/blob/main/{path}|"
# DoIt NEW | 0.2.4 whether to show the full text content in RSS
rssFullText = false
# DoIt NEW | 0.2.13 whether to enable series navigation
seriesNavigation = true
# whether to enable last modified time
enableLastMod = false
# whether to enable word count
enableWordCount = false
# whether to enable reading time estimation
enableReadingTime = false
Loading

0 comments on commit 3646606

Please sign in to comment.