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
| --- | |
| #layout: !layout.html | |
| --- | |
| <h1>Welcome</h1> | |
| <p>Hello, world!</p> |
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
| website % alternator path/to/source path/to/target --watch --port 8080 | |
| [watch] watching path/to/source for changes | |
| [serve] serving path/to/target at http://localhost:8080 | |
| ^c to stop |
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
| $ alternator --help | |
| USAGE: alternator <source> <target> [--watch] [--port <port>] | |
| ARGUMENTS: | |
| <source> Path to your source directory. | |
| <target> Path to your target directory. | |
| OPTIONS: | |
| -w, --watch Rebuild <source> as you save changes. | |
| -p, --port <port> Serve <target> on localhost:<port>. |
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
| html { | |
| background-image: repeating-linear-gradient(#efefef 0 1px, transparent 1px 100%); | |
| background-size: 15px 15px; | |
| } |
NewerOlder