Skip to content

Commit

Permalink
Add greeting subtitle (hugo-toha#350)
Browse files Browse the repository at this point in the history
* resize skillcards by CSS instead of JS

* Revert "resize skillcards by CSS instead of JS"

This reverts commit 169e059.

* french translation

* add an optionnal greeting subtitle

Co-authored-by: vlebert <[email protected]>
  • Loading branch information
vlebert and vlebert-tactis committed Jun 16, 2021
1 parent 61e5a34 commit 9004e7c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions layouts/partials/sections/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@
alt="Author Image"
/>
<h1 class="greeting"> {{ $author.greeting }} {{ $name }}</h1>
{{ if $author.subtitle }}
<h2 class="greeting-subtitle">{{ $author.subtitle }}</h2>
{{ end }}
<div class="typing-carousel">
<span id="ityped" class="ityped"></span>
<span class="ityped-cursor"></span>
Expand Down
2 changes: 1 addition & 1 deletion static/css/sections/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
margin-bottom: 10px;
}

.home .greeting {
.home .greeting, .home .greeting-subtitle {
color: #f9fafc;
}

Expand Down

0 comments on commit 9004e7c

Please sign in to comment.