Git Product home page Git Product logo

static-blog's Introduction

Go Frendi's static blog

This is the source code of my static blog. The blog has several prerequisites:

  • bash/zsh
  • git
  • hugo
  • anaconda

Clone repository

You only need to do this once

git clone --recursive [email protected]:goFrendiAsgard/static-blog.git

Init Virtual Environment and Add Conda Forge Channel

You only need to do this once

conda config --add channels conda-forge
conda config --set channel_priority strict 
make init-venv

Start Virtual Environment

Do this everytime you want to work with this repo.

conda activate static-blog

Writing Articles

You can write article in markdown or notebook format.

Writing in Markdown

To write article in markdown, create a <article-name>.md file in `content/posts, and start writing.

Every article in markdown should be started with

---
title: "<title>"
date: 2019-07-31T07:41:41+07:00
categories:
    - <category-1>
    - <category-2>
tags:
    - <tag-1>
    - <tag-2>
---

Writing in Notebook

To write article in notebook, perform make start-jupyter, create a notebook, and start writing.

Every article in notebook should be started with Raw NBConvert as follow

---
title: "<title>"
date: 2019-07-31T07:48:41+07:00
categories:
- <category-1>
- <category-2>
tags:
- <tag-1>
- <tag-2>
---

Checking Up

Deploy

Do this only when you are ready to publish the changes

./deploy.sh "<commit message>"

static-blog's People

Contributors

gofrendiasgard avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.