Skip to content

Instantly share code, notes, and snippets.

@SomajitDey
Last active September 20, 2024 14:47
Show Gist options
  • Save SomajitDey/b06fb8a929d1f8eae4a3ecad49338174 to your computer and use it in GitHub Desktop.
Save SomajitDey/b06fb8a929d1f8eae4a3ecad49338174 to your computer and use it in GitHub Desktop.
Create and deploy static site for personal website or blog. Contains contact form, feeds and comment section.

Static Site

Static sites are useful as personal website, portfolio, blogs, conference website, brouchureware etc.. Following are a few resources to get us started.

Static Site Generator

Resources for interacting directly with HTML

Fast asset delivery

  • jsdelivr.com. Store common (3rd party but self-hosted) stylesheets and js in a specific GitHub repository. Then use their jsdelivr.com links as href and src in all your HTMLs. Note: add ".min" to any JS/CSS file to get a minified version; if one doesn't exist, jsdelivr generates it for you.

Deployment

Form backend

Don't expose your email ID. Use a contact form instead. Use free-tier of the following services or set up a Google form for free.

Search Engine Optimization (SEO)

Feeds

Copyright

Copyright your site as ©Your Name, Year . Make sure all assets (e.g. images/gifs/videos) you use in the site are properly licensed. Freely usable stock images:

Site Search and Sitemap

Comments

Google Analytics

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment