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

ui: document meta author and description #31

Open
greenpau opened this issue Jun 5, 2022 · 0 comments
Open

ui: document meta author and description #31

greenpau opened this issue Jun 5, 2022 · 0 comments
Assignees

Comments

@greenpau
Copy link
Collaborator

greenpau commented Jun 5, 2022

The following ui directives allow overwriting the defaults:

  ui {
    meta title "Auth Portal"
    meta description "Authenticates users"
    meta author "John Smith"
  }

If not set, then the following is being displayed:

<title>Authentication Portal - {{ .Title }}</title>
<meta name="description" content="Performs user authentication." />
<meta name="author" content="Paul Greenberg github.com/greenpau" />
@greenpau greenpau self-assigned this Jun 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant