Instructions for creating a new file for the website
Last Updated 2018-07-25 Adam Lu
-
Connect to the server via these instructions.
-
Open a terminal on the server via these instructions.
-
Set up
s3cmd
via these instructions. -
Navigate to the home directory for the website
# Navigate to the home directory for the website cd /media/shareX/Website
-
Create a new markdown file in the
courses
folder (for example)# Create a new hugo new courses/new_file.md
This will create the file
/home/adam/Website/content/courses/new_file.md
using the templatearchetypes/default.md
-
Now open the markdown file with Typora or Sublime Text and edit it to your liking.