Skip to content

mksalada/mksalada.github.io

Repository files navigation

Site details

General information about the site

Site information

  • Site name: Tina Salada
  • Owner: mks, Tina Salada, mksalada
  • Description: My awesome website
  • Theme: Blowfish by Nuno Coração GitHub release (latest by date)

Build & deploy

Settings for Continuous Deployment from a Git repository

Repository

Build settings

  • Base directory: main
  • Build command: hugo Hugo
  • Hosted: GitHub
  • Deployment: GitHub Pages
  • Publish directory: public
  • Builds: Active

Domains

Use your own domain

Custom domains

Website launching offline

Go to http://localhost:1313

Launch by using the following command:

  • hugo serve or hugo server
    • When you run hugo serve, when the contents of the files change, the page automatically refreshes with the changes.
  • hugo serve -D or hugo serve --buildDrafts
    • By default all posts and pages are created as a draft. If you want to render these pages, remove the property draft: true from the metadata, set the property draft: false or add -D/--buildDrafts parameter to hugo command.
  • hugo serve --disableFastRender
    • Since the theme use .Scratch in Hugo to implement some features, it is highly recommended that you add --disableFastRender parameter to hugo server command for the live preview of the page you are editing.
  • hugo serve -e production
    • Default environments are development with hugo serve and production with hugo.
    • Due to limitations in the local development environment, the comment system, CDN and fingerprint will not be enabled in the development environment.
    • You could enable these features with hugo serve -e production.
  • hugo serve --cleanDestinationDir
    • Remove files from destination not found in static directories

Build the website

  • When your site is ready to deploy, run the hugo command.
  • A public folder will be generated, containing all static content and assets for your website. It can now be deployed on any web server.

Commands

  • New Post: hugo new content posts/new-post-title/index.md
  • New Page: hugo new content new-page-title/_index.md
  • Start Hugo server: hugo server --cleanDestinationDir -D
  • Update Blowfish theme through GitHub submodule: git submodule update --remote --merge

Resources

Keyboard Shortcuts

  • Visual Studio Code's Keyboard Shortcuts Reference
  • Open/New Terminal -> Ctrl + Shift + </code> or Ctrl + <code>
  • Markdown Preview -> Ctrl + Shift + V
  • Markdown Preview to the left -> Ctrl + K + V

TODOs

Import blogs at:

  • Webnode
  • DEV (dev.to)
  • Hashnode
  • WordPress
  • Blogger (blogspot.com)
  • Medium
  • Replit (repl.it)
  • Tumblr