Giter Site home page Giter Site logo

blog's Introduction

Blog

This blog is built with Jekyll.

The theme builds off Type Theme, and is heavily inspired by Otoro, the New York Times, and the Rosenrot. The annals-like frontpage takes cue from Paul Graham's essays and Cosma Shalizi's notebooks.

The following Jekyll plugins are used:

  • KaTeX, Google Fonts, Google Analytics, Normalize, Pygments (comes with TypeTheme)
  • Jekyll Scholar

Workflow

Here's my workflow for writing and submitting blog posts.

  1. Dump thoughts into a markdown file, in _drafts/. Or edit the many files already inside _drafts/. Preview (and generate) the static site from a local server.
jekyll serve --drafts
  1. When complete, rename and move the file to _posts/.
  2. Re-build the site.
jekyll build --destination ../blog
  1. Copy generated blog onto my virtual private server, which hosts the blog.
scp -r ../blog digitalocean:/var/www/dustintran.com

Maintenance

To keep the theme up to date, I track the theme's original repo on the type-theme branch. Add to remote the original repo,

git remote add theme [email protected]:rohanchandra/type-theme.git

Whenever you want to update, simply run

git checkout type-theme
git pull theme master

You can compare type-theme to master and possibly merge in any changes. Keeping the theme up-to-date on a separate branch avoids treating the repo as a fork: this repo does more than just style things and is thus not appropriate as a fork.

Notes

I had to do a hack for in-text citations. It copies apa, where the only difference is on lines 588-594. The file is in etc/. Also see here.

  <layout suffix=")" delimiter="; ">
    <group delimiter=" ">
      <text macro="author-short"/>
      <text prefix="(" macro="issued-year"/>
      <text macro="citation-locator"/>
    </group>
  </layout>

blog's People

Contributors

billytrend avatar busches avatar dustinvtran avatar geonu avatar newvertex avatar punkeel avatar rishibaldawa avatar robertmarsal avatar rohanchandra avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  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.