Skip to content

Commit

Permalink
Add logo, tweak theme
Browse files Browse the repository at this point in the history
  • Loading branch information
ofalvai committed Jul 5, 2023
1 parent b65e89e commit f80f2b9
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 4 deletions.
6 changes: 6 additions & 0 deletions assets/_custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
body {
--color-link: #760FC3;
--color-visited-link: #760FC3;
--body-font-color: #351c48;
}

.markdown pre {
Expand All @@ -18,3 +19,8 @@ body {
}
}

// Align page title to logo
h2.book-brand span {
position: relative;
top: 2px;
}
8 changes: 4 additions & 4 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ languageCode = 'en-us'
title = 'Bitrise Stacks'
theme = 'hugo-book'

sectionPagesMenu = "main"
sectionPagesMenu = "test"

[taxonomies]
# Syntax: singular = "plural"
Expand All @@ -25,7 +25,7 @@ BookToC = true

# (Optional, default none) Set the path to a logo for the book. If the logo is
# /static/logo.png then the path would be 'logo.png'
# BookLogo = 'logo.png'
BookLogo = 'bitrise-logo.svg'

# (Optional, default none) Set leaf bundle to render as side menu
# When not specified file structure and weights will be used
Expand All @@ -38,7 +38,7 @@ BookSection = '*'

# Set source repository location.
# Used for 'Last Modified' and 'Edit this page' links.
BookRepo = 'https://github.com/alex-shpak/hugo-book' # TODO
BookRepo = 'https://github.com/bitrise-io/stacks'

# Specifies commit portion of the link to the page's last modified commit hash for 'doc' page
# type.
Expand All @@ -50,7 +50,7 @@ BookCommitPath = 'commit'
# Enable 'Edit this page' links for 'doc' page type.
# Disabled by default. Uncomment to enable. Requires 'BookRepo' param.
# Path must point to the site directory.
BookEditPath = 'edit/master/exampleSite'
# BookEditPath = 'edit/master/exampleSite'

# (Optional, default January 2, 2006) Configure the date format used on the pages
# - In git information
Expand Down
File renamed without changes.
2 changes: 2 additions & 0 deletions layouts/partials/stack_reports/post-meta.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ <h5>{{ partial "docs/date" (dict "Date" . "Format" $.Site.Params.BookDateFormat)

<p>Stack ID: <code>{{ .Page.File.BaseFileName }}</code></p>

<a href="https://github.com/bitrise-io/stacks/commits/main/data/{{ .Page.File.BaseFileName }}" class="book-btn" target="_blank">Update history</a>

<p>This Bitrise stack contains the following software:</p>
13 changes: 13 additions & 0 deletions static/bitrise-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f80f2b9

Please sign in to comment.