erdaltaskesen-com
erdaltaskesen-com copied to clipboard
Personal Website / Blog and more
erdaltaskesen.com
The source code of my personal website/blog.
Features
- Hugo based static website
- Custom Theme
- Blog
- RSS
- Sitemap
Requirements
Getting Started
# Obtain the code.
git clone https://github.com/erdaltsksn/erdaltaskesen-com.git
# Get in the directory.
cd erdaltaskesen-com
# Run the application.
# hugo server --bind=0.0.0.0
make hugo
You can visit the website at http://localhost:1313/
Installation
Run the following command to generate static website. The static website output
will be inside public
folder.
# Build static webpage.
# hugo
make build
Deployment and hosting with a Static Web Hosting services
-
Build command:
hugo
-
Publish directory:
public
For Netlify
- Make sure to set
Build Image
toUbuntu Xenial 16.04
or above. - Set
HUGO_VERSION = "x.y.z"
innetlify.toml
.
For Cloudflare Pages
- Set
HUGO_VERSION = "x.y.z"
inEnvironment variables
.
That's it, now your site gets deployed automatically on git push
.
Updating / Upgrading
See Go Hugo Docs for upgrading Hugo.
Usage
# Build static webpage.
# hugo
make build
# Run Hugo's own webserver.
# hugo server --bind=0.0.0.0
make hugo
# To Create a new blog post
# hugo new blog/2020-05-12-this-is-awesome.md
make post title="this-is-awesome"
Getting Help
See official Hugo Docs to getting help about Hugo.
Contributing
If you want to contribute to this project and make it better, your help is very welcome.
For more information, see Contributing Guide.
Security Policy
If you discover a security vulnerability within this project, please follow our Security Policy.
Code of Conduct
This project adheres to the Contributor Covenant Code of Conduct. By participating, you are expected to uphold this code.
Disclaimer
In no event shall we be liable to you or any third parties for any special, punitive, incidental, indirect or consequential damages of any kind, or any damages whatsoever, including, without limitation, those resulting from loss of use, data or profits, and on any theory of liability, arising out of or in connection with the use of this software.