Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,19 @@ theme = "basics"
author = "Author Name"
```

#### Add License
Add a license for the content in your `config.toml` file. It will be displayed in the footer.

See below for an example:
```
baseURL = ""
languageCode = "en-us"
title = "Basics Theme Demo"
theme = "basics"
license = "CC-BY-4.0"

```

#### Add Links to GitHub and GitLab
Add GitHub and GitLab usernames to `.Site.Params.github` and `.Site.Params.gitlab` parameters in your `config.toml` file. Links to these accounts would show up in the top navigation bar. If these parameters are not present or is left blank, the links would disappear.

Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/footer.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<footer>
<hr>
<small>
&copy; {{ now.Format "2006" }} {{ .Site.Params.author }}.
{{ Site.License }}
Powered by <a href="https://gohugo.io/" target="_blank">Hugo</a> using the <a href="https://github.com/arjunkrishnababu96/basics" target="_blank">Basics</a> theme.
</small>
</footer>
Expand Down