1 Commits

Author SHA1 Message Date
David Tomaschik
a82e0cdb37 Fix escaping of Jekyll titles. 2019-10-02 21:43:01 -07:00
2 changed files with 6 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
### About ###
### About ###
This is a repository of configuration files that I like to have on all the
machines that I use. I can just clone the repository and run "repo/setup.sh"
and get most things setup the way I like them.
@@ -14,14 +14,12 @@ This now uses [git-crypt](https://github.com/AGWA/git-crypt) to protect
I still wouldn't check in anything terribly sensitive, like private keys.
### Usefulness ###
Mostly I post this to github so I can quickly grab the things I want, but it
might also be useful to others. Feel free to raise an issue if you have any
questions. I don't anticipating taking merge requests -- make your own
dotfiles. ;)
### Options ###
```
BASEDIR: Where the skel framework is installed. Defaults to $HOME/.skel
MINIMAL: Don't do things that require git clones or installation of anything
@@ -33,10 +31,9 @@ INSTALL_PKGS: Install common packages, if on a Debian-like system.
(Defaults to opposite of $MINIMAL.)
SAVE: Save the install options to ${BASEDIR}/installed-prefs
```
### TODO ###
- [X] Re-do the installation of packages.
- [X] Make manual installation of sets easy/possible.
- [X] Make missing packages not cause a full set failure.
- [X] Allow comments and blank lines. in packages
[ ] Re-do the installation of packages.
[ ] Make manual installation of sets easy/possible.
[ ] Make missing packages not cause a full set failure.
[X] Allow comments and blank lines.

View File

@@ -80,6 +80,7 @@ function jekyll {
tr -c -s -- a-z0-9 - | # Replace non-alphanums with dashes
sed 's/^-*\([^-].*[^-]\)-*$/\1/' # Remove leading and trailing slashes
)
TITLE=$(echo ${TITLE} | sed 's/\\/\\\\/g;s/"/\\"/g')
DATE=`date +%Y-%m-%d`
case "${1:-help}" in