Skip to content

Commit

Permalink
Update logo
Browse files Browse the repository at this point in the history
  • Loading branch information
sgued committed Jun 14, 2023
1 parent 9737fdc commit 5304e4c
Show file tree
Hide file tree
Showing 4 changed files with 490 additions and 4 deletions.
4 changes: 2 additions & 2 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ enableEmoji=true

[Params]
subtitle = "Lightweight cli browser for Peertube"
logo = "peertube-logo.svg"
favicon = "peertube-logo.svg"
logo = "peertube-viewer-logo.svg"
favicon = "peertube-viewer-logo.svg"
dateFormat = "January 2, 2006"
commit = false
rssContent = "posts"
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<span>{{ .Site.Title }}</span>
</a>
{{ if isset .Site.Params "logo" }}
<img class="navbar-brand-logo" src="{{ $.Site.Params.logo | relURL }}" alt="{{ $.Site.Title }}" width="20"/>
<img class="navbar-brand-logo" src="{{ $.Site.Params.logo | relURL }}" alt="{{ $.Site.Title }}"/>
{{ end }}
</div>

Expand Down
3 changes: 2 additions & 1 deletion static/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ img {

.navbar-brand-logo {
height: 40px;
margin: auto;
margin-top: 5px;
display: block;
}

/* --- Footer --- */
Expand Down
Loading

0 comments on commit 5304e4c

Please sign in to comment.