Skip to content

Repository with content of TESLa website for Hugo static site generator. http://teslacu.org

License

Notifications You must be signed in to change notification settings

tesla-cu/website

Repository files navigation

Turbulence Energy Systems Laboratory (TESLa) Website

Welcome to the source code of the TESLa website powered by the Hugo Academic.

Quickstart

Running this website locally requires hugo to be installed on your machine. The website requires a minimum version so we recommend

brew install hugo

on macOS or

wget https://github.com/gohugoio/hugo/releases/download/v0.58.2/hugo_0.58.2_Linux-64bit.deb
dpkg -i hugo_0.58.2_Linux-64bit.deb

on Ubuntu since standard sudo apt-get installs a depreciated version.

Once git and hugo are installed, create a fork from our repository. This will create an exact copy under your username. Then perform:

$ git clone --recursive https://github.com/[username]/website.git
$ cd website
$ hugo server

where you should replace [username] with your username. Open http://localhost:1313/ and your personal build of the website should appear. Once you are satisfied with your updates, submit a pull request where other members of the lab can inspect and merge your new content. Check Configuring your Github account wiki page to help you with this procedure.

If you would like to add a new content additional enrichment or help to improve the website design, check out our Adding new content and Modifying the website format pages on the wiki! See Hugo Academic docs for a thorough description of all functionality.

Adding Yourself

All of the user-related data is located under content/authors/firstname_lastname. To add yourself, make a copy of the existing example user folder (content/authors/example_user) and rename it to yourself, following the firstname_lastname naming convention.

In the folder, you will find a profile photo (avatar.jpg), optional cv document (cv.pdf), and a file called _index.md, which contains all of your user information. You can edit each of these files (but keep the file name the same) to upload your own information, and then the site should automatically update with your information.

Formatting/Content Tips

There have been cases where people have used webscraping bots to pull phone numbers from our CVs posted on this website - it's recommended to omit that information from the PDF that you upload here.

About

Repository with content of TESLa website for Hugo static site generator. http://teslacu.org

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published