Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config and setup #5

Merged
merged 4 commits into from
Jan 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,18 @@ straightforward. If setting up your own til is interesting enough to you that
you would be willing to help factor out reusable parts, open an issue to
discuss.


## Setup (only works on *nix)

- Install [NodeJS](https://nodejs.org/en/download)
- Install fzf
- Ubuntu: `sudo apt install fzf`
- Modify the [Config File](./config.mjs) with your own info
- In [GitHub pages](https://docs.github.com/en/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site), set it so you have the settings:
- Source: Deploy from a branch (Classic Pages experience)
- Branch: `gh-pages`, from the folder `/ (root)`


## License

Code found here is licensed under [MIT]. Content under [CC BY 4.0].
Expand Down
16 changes: 16 additions & 0 deletions config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
export default {
canonicalRoot: "https://leebyron.com/til/",
title: "til",
githubRepo: "leebyron/til",
authorName: "Lee Byron",
authorURL: "https://leebyron.com",
pageTitle: `Things I've Learned / Lee Byron`,
ogTitle: `Lee Byron / til`,
ogDescription: `Things I've Learned: brief blurbs on miscellaneous matter.`,
twitterTitle: `Lee Byron / til: brief blurbs on miscellaneous matter.`,
twitterCreator: "@leeb",
googleName: `Things I've Learned`,
feedTitle: `Lee Byron / til`,
feedSubtitle: `Things I've Learned: brief blurbs on miscellaneous matter.`,
gtag: "UA-61714711-1",
}
Loading