You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a new directory for your new site: mkdir my_new_site && cd my_new_site/
An example website is included in the exampleSite
directory. For usage info see below. Copy the contents of exampleSite to
your new directory: cp ~/Downloads/bay/exampleSite/* .
Copy the bay directory to the themes directory: cp ~/Downloads/bay/ themes/
Run the Hugo development server hugo server -D
For more information on Hugo visit the documentation.
Example Site
An Example Site is included in the exampleSite directory.
The logo on the website header is an image under static/img/title.png. To use
text instead, set the logo.image parameter to false and set the logo.text
parameter to the text you want to be displayed:
params:
logo:
image: truetext: BAY THEME
You can add links to the website header by modifying the params section in
config.yaml. Note: do not add slashes to the beginning of the slugs.
params:
menu:
- name: Homeslug:
- name: Workslug: work
- name: Blogslug: blog
- name: Personalslug: posts/personal
To add Social Media links or contact links to the footer:
Icons can be placed in themes/bay/static/img/icons. They must be a lower-case
version of the name. Some platforms use links from your website to your
profile with a special rel attribute. To add such an attribute, use the rel
parameter:
params:
social:
- name: Mastodonlink: https://mastodon.social/YourMastodonUsernamerel: me
To modify the home page, edit the content/index.md file, to add more blog
posts add more files to content/blog/, to add more sections to the work page,
add more files to content/work/.