Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow config to specify if home-page button goes to repo or docs #540

Merged
merged 6 commits into from
Jan 28, 2021

Conversation

sloshy
Copy link
Contributor

@sloshy sloshy commented Jan 27, 2021

Resolves #508

Adds a config option for specifying where you would like the big call-to-action button on the front page to link to, between your repo or your docs page.
Simply set micrositeHomeButtonTarget := "docs" and you will get a button that looks like this:

Screen Shot 2021-01-27 at 3 22 53 PM

and redirects to your documents URL, assuming it is defined.

@github-actions github-actions bot added the enhancement New feature or request label Jan 27, 2021
Copy link
Member

@juanpedromoreno juanpedromoreno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Contributor

@calvellido calvellido left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏

@sloshy sloshy merged commit e83535c into master Jan 28, 2021
@sloshy sloshy deleted the feature/cta-button-target branch January 28, 2021 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make call to action button on landing page lead to "Documentation" instead of "View on GitHub"
3 participants