mirror of
https://github.com/facundoolano/jorge.git
synced 2024-11-16 07:47:40 +01:00
This commit is contained in:
parent
f5cfe0aecf
commit
353eba4196
4 changed files with 4 additions and 4 deletions
|
@ -8,7 +8,7 @@ tags: [tutorial]
|
|||
#+OPTIONS: toc:nil num:nil
|
||||
#+LANGUAGE: en
|
||||
|
||||
Once jorge is [[file:installation][installed]], you can start a new site with the ~init~ command, specifying a project directory (~myblog~ in the example):
|
||||
Once jorge is [[file:1-installation][installed]], you can start a new site with the ~init~ command, specifying a project directory (~myblog~ in the example):
|
||||
|
||||
#+begin_src console
|
||||
$ jorge init myblog
|
||||
|
|
|
@ -8,7 +8,7 @@ tags: [tutorial]
|
|||
#+OPTIONS: toc:nil num:nil
|
||||
#+LANGUAGE: en
|
||||
|
||||
Now that you have some [[file:jorge-init][default files]] in place, let's see how the website looks. Run ~jorge serve~ on the project directory:
|
||||
Now that you have some [[2-jorge-init][default files]] in place, let's see how the website looks. Run ~jorge serve~ on the project directory:
|
||||
|
||||
#+begin_src console
|
||||
$ cd myblog
|
||||
|
|
|
@ -61,7 +61,7 @@ Let's look at what the command did for us:
|
|||
| ~#+OPTIONS: toc:nil num:nil~, ~#+LANGUAGE: en~ | Some default org mode options, to skip the table of contents and define the post language. |
|
||||
{% endraw %}
|
||||
|
||||
With ~jorge serve~ running, you can start filling in some content on this new post and see it show up in the browser at http://localhost:4001/blog/my-own-blog-post.
|
||||
With ~jorge serve~ running, you can start filling in some content on this new post and see it show up in the browser at [[http://localhost:4001/blog/my-own-blog-post]].
|
||||
|
||||
** Customizing the post format
|
||||
As you may have noticed, the ~jorge post~ command makes a lot of assumptions about the post: where to put it, how to name it, and what format to use. You can control some of these decisions by redefining the ~post_format~ configuration key. The default is:
|
||||
|
|
|
@ -8,7 +8,7 @@ tags: [tutorial]
|
|||
#+OPTIONS: toc:nil num:nil
|
||||
#+LANGUAGE: en
|
||||
|
||||
So far you've seen how to [[file:jorge-init][start a project]], [[file:jorge-serve][serve it locally]] and [[file:jorge-post][add some content]] to it. The last step is to prepare your site for the public, and ~jorge build~ will help you with that:
|
||||
So far you've seen how to [[file:2-jorge-init][start a project]], [[file:3-jorge-serve][serve it locally]] and [[file:4-jorge-post][add some content]] to it. The last step is to prepare your site for the public, and ~jorge build~ will help you with that:
|
||||
|
||||
#+begin_src console
|
||||
$ jorge build
|
||||
|
|
Loading…
Reference in a new issue