Skip to content

Commit

Permalink
add start journey button just to home page
Browse files Browse the repository at this point in the history
  • Loading branch information
Ede1994 committed May 16, 2024
1 parent a07f21e commit 2caf556
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _includes/start-journey-button.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
var diameter = options.diameter === undefined ? 56 : options.diameter;
var id = options.id === undefined ? "button-with-link" : options.id;
var innerHTML = options.innerHTML === undefined ? 'Test button!' : options.innerHTML;
var link = options.link === undefined ? 'https://github.com/University-Clinic-of-Neuroradiology/bootcamp-website/blob/c0e6a0e0a2838edf17ef280d9d2e8c2191425aee/pages/404.html' : options.link;
var link = options.link === undefined ? './pages/404.html' : options.link;
var size = options.size === undefined ? diameter : options.size;
var textColor = options.textColor === undefined ? "#fff" : options.textColor;
var zIndex = options.zIndex === undefined ? 1 : options.zIndex;
Expand Down
2 changes: 1 addition & 1 deletion _layouts/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

{% include new-window-fix.html %}

{% include start-journey-button.html %}
<!-- {% include start-journey-button.html %} -->

{% include back-to-top-button.html %}

Expand Down
2 changes: 2 additions & 0 deletions _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

{{ content }}

{% include start-journey-button.html %}

{% assign posts = paginator.posts | default: site.posts %}

<!-- role="list" needed so that `list-style: none` in Safari doesn't remove the list semantics -->
Expand Down

0 comments on commit 2caf556

Please sign in to comment.