zabouti |||

My Jekyll notes

Creating and Editing a New Post

Just use my newpost.rb script to create a new post in _posts. Then use MultiMarkdown Composer to edit the post.

Categories

I finally figured out that the categories metadata in the header of each post can specify the path to the final post. For example, suppose I define categories in the metadata to have the two ordered values:

categories: activities french

If I have specified in my _config.yml file that the permalink has the structure

/:categories/:year/:month/:day/:title.html

then I will get paths that look like

/activities/french/2013/05/08/olli-french-table.html

Sweet.

Generate the site

gitm:~/Dropbox/ge/george.entenman.name $ jekyll build
Configuration file: /Users/ge/Dropbox/ge/george.entenman.name/_config.yml
            Source: /Users/ge/Dropbox/ge/george.entenman.name
       Destination: ./ge.github.io
      Generating... done.

Local server

I believe it was working for awhile. But now the server (WEBrick) starts, but nothing is served and I can’t find any log files that might explain what’s happening. I’ve reinstalled jekyll.

Synopsis of building and pushing to github

$ jekyll build
$ jekyll serve [Note: this does not work]
$ pd ge.github.io/
$ git status
$ git commit -am "commit message"
$ git push -u origin

Layout

Most of the layout is defined by _layouts/default.html. This includes _layouts/post.html, which can be very simple.

CSS

This is a normal paragraph. I hope its font size is adequate.

This should be a blockquote.  This should be a blockquote.  This should be a blockquote.  This should be a blockquote.  This should be a blockquote.  This should be a blockquote.  This should be a blockquote.

Another paragraph containing ”, I hope.

Up next Welcome to Jekyll! You’ll find this post in your _posts directory - edit this post and re-build (or run with the -w switch) to see your changes! To add new posts, postgreSQL link set PostgreSQL Feature Matrix SQL Query Examples
Latest posts Vocabulary lesson Iris and I had an interesting discussion with Google Bard this morning. Discussion on the Pomona College class of 1964 listserv I’m illiterate Elon Musk I love photographing the artists at Wildacres Eating a Mouse It Really is a Fascist Flag (at least to some Americans) I love the New York Times Metropolitan Diary Watching The Ten Commandments in Gafsa, Tunisia, in the sixtes I wanna be like these guys when I’m their age! The insignificance of photography Enough photos from our trip to Japan MoveOn wants to amend the Constitution? Google Sheet Number Formatting Summer Brake Romantic technologies and ideologies PITY THE NATION Basho’s poem, Even in Kyoto War in Ukraine - an explanation Timothy Snyder’s History of Ukraine Fake Email Senders More on language learning Effect and Cause Soros is my Co-Pilot Note à une chère amie Arnold Schwarzenegger Why Purim upsets me I was a Programmer Who Swore Constantly I perceive new things as my nerves slow down