Go to file
Pascal Abresch a8f4153b29 Add a dark mode
this uses the css media query prefers-color-scheme to offer a dark theme to users.
This works in recent versions of safari, chromium (and derivatives) aswell as firefox
(but only with resistfingerprinting off OR a special config flag set)
2020-08-03 22:00:09 +02:00
content New blog and July 2020 activity report (#400) 2020-08-02 18:59:07 +00:00
scripts build_for_deploy: Bump Doxygen and use new host. 2019-12-23 19:10:08 -05:00
static Merge pull request #398 from agmsmith/kdlscreenshot 2020-07-27 17:30:40 +00:00
themes/shijin4 Add a dark mode 2020-08-03 22:00:09 +02:00
.gitignore .gitignore: Remove needless item. 2020-04-17 23:52:34 -04:00
README.md Updated README.md (#71) 2017-05-20 17:09:26 -04:00
config.toml Fix the Conferences section (#344) 2020-01-13 21:57:07 -05:00

README.md

Haiku Project website

This repository contains the source code for Haiku's main website.

Blogging

To create a new blog for a new user, run ./scripts/newblog.sh.

To create a new blogpost, run ./scripts/newpost.sh.

Refer Troubleshooting section if you encounter any error.

Shortcodes

Shortcodes introduce the ability to leverage special formatting in markdown documents. All available shortcodes are in layouts/shortcodes.

Alerts

A classic alert or notification div with a title and a body

  • {{< alert-danger "Title" "Body text here">}}
  • {{< alert-warning "Title" "Body text here">}}
  • {{< alert-info "Title" "Body text here">}}

Keyboard

A small keyboard like span. Normally used to represent pressing a physical key on the keyboard.

  • {{< keyboard ALT >}}

Troubleshooting

macOS: "date: illegal option"

This is because OS X/macOS and Linux use two different sets of tools. Linux uses the GNU version of the date command (hence, GNU/Linux). The solution would be to install GNU Core Utilities replacing macOS Utilities:

Homebrew:

brew install coreutils

MacPorts

sudo port install coreutils

Set your PATH to: PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH"

Run which date, it must show /usr/local/opt/coreutils/libexec/gnubin/date and not /bin/date. Re-run the above command, it should work fine!