{"id":15939282,"url":"https://github.com/dustinvtran/blog-build","last_synced_at":"2026-02-12T10:31:34.250Z","repository":{"id":228591141,"uuid":"768409454","full_name":"dustinvtran/blog-build","owner":"dustinvtran","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-07T02:59:50.000Z","size":6649,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-21T03:55:48.615Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dustinvtran.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-03-07T02:57:54.000Z","updated_at":"2024-03-07T02:59:55.000Z","dependencies_parsed_at":"2024-03-19T15:32:11.022Z","dependency_job_id":"b53ddb49-f678-4941-b8dd-8081427f9049","html_url":"https://github.com/dustinvtran/blog-build","commit_stats":null,"previous_names":["dustinvtran/blog-build"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dustinvtran/blog-build","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dustinvtran%2Fblog-build","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dustinvtran%2Fblog-build/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dustinvtran%2Fblog-build/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dustinvtran%2Fblog-build/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dustinvtran","download_url":"https://codeload.github.com/dustinvtran/blog-build/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dustinvtran%2Fblog-build/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29363152,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T08:51:36.827Z","status":"ssl_error","status_checked_at":"2026-02-12T08:51:26.849Z","response_time":55,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-07T06:03:49.260Z","updated_at":"2026-02-12T10:31:34.236Z","avatar_url":"https://github.com/dustinvtran.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Blog\n\nThis blog is built with [Jekyll](https://jekyllrb.com/).\n\nThe theme builds off\n[Type Theme](https://rohanchandra.github.io/project/type/), and is\nheavily inspired by [Otoro](http://blog.otoro.net/), the [New York\nTimes](http://www.nytimes.com/), and the\n[Rosenrot](http://the-rosenrot.com/). The annals-like frontpage takes\ncue from Paul Graham's [essays](http://paulgraham.com/articles.html)\nand Cosma Shalizi's [notebooks](http://bactra.org/notebooks/).\n\nThe following Jekyll plugins are used:\n\n+ [KaTeX](https://khan.github.io/KaTeX/), Google Fonts, Google Analytics, Normalize, Pygments (comes with TypeTheme)\n+ [Jekyll Scholar](https://github.com/inukshuk/jekyll-scholar)\n\n## Workflow\n\nHere's my workflow for writing and submitting blog posts.\n\n1. Dump thoughts into a markdown file, in `_drafts/`. Or edit the many\n   files already inside `_drafts/`. Preview (and generate) the static\n   site from a local server.\n\n  ```bash\n  jekyll serve --drafts\n  ```\n2. When complete, rename and move the file to `_posts/`.\n3. Re-build the site.\n\n  ```bash\n  jekyll build --destination ../blog\n  ```\n4. Copy generated blog onto my virtual private server, which hosts the blog.\n\n  ```bash\n  scp -r ../blog digitalocean:/var/www/dustintran.com\n  ```\n\n## Maintenance\n\nTo keep the theme up to date, I track the theme's original repo on\nthe `type-theme` branch. Add to remote the original repo,\n```\ngit remote add theme git@github.com:rohanchandra/type-theme.git\n```\nWhenever you want to update, simply run\n```\ngit checkout type-theme\ngit pull theme master\n```\nYou can compare `type-theme` to `master` and possibly merge in any\nchanges. Keeping the theme up-to-date on a separate branch avoids\ntreating the repo as a fork: this repo does more than just style\nthings and is thus not appropriate as a fork.\n\n## Notes\n\nI had to do a hack for in-text citations.\nIt copies apa, where the only difference is on lines 588-594. The file\nis in `etc/`.\nAlso see [here](https://github.com/inukshuk/jekyll-scholar/issues/33).\n```\n  \u003clayout suffix=\")\" delimiter=\"; \"\u003e\n    \u003cgroup delimiter=\" \"\u003e\n      \u003ctext macro=\"author-short\"/\u003e\n      \u003ctext prefix=\"(\" macro=\"issued-year\"/\u003e\n      \u003ctext macro=\"citation-locator\"/\u003e\n    \u003c/group\u003e\n  \u003c/layout\u003e\n```\n\n## Setting up Jekyll\n\nInstall Ruby and Jekyll. I recently did this for my [Windows\nmachine](https://jekyllrb.com/docs/installation/windows/).\n\nGo to the blog directory. Run\n\n```ruby\nbundle update\n```\n\nAdd the above hack for in-text citations by including a custom APA\nin-text style CSL file. Test your setup now works with `jekyll serve\n--drafts`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdustinvtran%2Fblog-build","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdustinvtran%2Fblog-build","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdustinvtran%2Fblog-build/lists"}