Adding a File to a Post

In this lesson, you'll learn how to add a file to a post.

Click on +, scroll down, and select File.

You'll want your file to be related to your blog post and you'll want it to be content that is quite static, so you don't have to remember to update it often.

As an example, a code snippet that is part of a tutorial that isn't likely to change unless the lesson changes, may be a good thing to add.

A bash file that's part of a GitHub project like my open source script to apply some fundamental security protection for generic Red Hat and Ubuntu builds would not be a good choice, because that content can be updated. That means the uploaded file would be out of date in the blog post until I remember to update it.

GitHub - TedLeRoy/first-ten-seconds-redhat-ubuntu: A bash script to help secure a new CentOS or Ubuntu server quickly and easily.
A bash script to help secure a new CentOS or Ubuntu server quickly and easily. - GitHub - TedLeRoy/first-ten-seconds-redhat-ubuntu: A bash script to help secure a new CentOS or Ubuntu server quickl...

All good, if you have one or two blog posts and files. A nightmare if you have 10's or 100's of posts.