Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Here are some changes
Haiku Project website
This repository contains the source code for Haiku's main website.
Blogging
To create a brand new blog for a new user, run
./scripts/newblog.sh.To create a brand new blogpost, run
./scripts/newpost.sh.Refer Troubleshooting section if you encounter any error.
Shortcodes
Shortcodes introduce the power 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 wont 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 answer would be to install GNU Core Utilities replacing macOS Utilities:
Homebrew:
brew install coreutilsMacPorts
sudo port install coreutilsSet your PATH to:
PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH"Run
which date, it must show/usr/local/opt/coreutils/libexec/gnubin/dateand not/bin/date. Re-run the above command, it should work fine!