Guest User

Untitled

a guest
Apr 27th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.01 KB | None | 0 0
  1. From 380862a3686429338f7c7f76b5de16610ca1c44d Mon Sep 17 00:00:00 2001
  2. From: Deepak Jois <deepak.jois@gmail.com>
  3. Date: Fri, 1 Jan 2010 12:49:09 -0800
  4. Subject: [PATCH 1/2] Adding dist folder to gitignore
  5.  
  6. ---
  7. .gitignore | 1 +
  8. 1 files changed, 1 insertions(+), 0 deletions(-)
  9. create mode 100644 .gitignore
  10.  
  11. diff --git a/.gitignore b/.gitignore
  12. new file mode 100644
  13. index 0000000..1521c8b
  14. --- /dev/null
  15. +++ b/.gitignore
  16. @@ -0,0 +1 @@
  17. +dist
  18. --
  19. 1.6.4.2
  20.  
  21.  
  22. From 4f254b6a1ba4655886e8af443e0f8d082b2bc72c Mon Sep 17 00:00:00 2001
  23. From: Deepak Jois <deepak.jois@gmail.com>
  24. Date: Fri, 1 Jan 2010 13:01:58 -0800
  25. Subject: [PATCH 2/2] Documentation cleanups
  26.  
  27. Removed templatedir option, and added some additional details.
  28. ---
  29. README.markdown | 8 ++++++--
  30. 1 files changed, 6 insertions(+), 2 deletions(-)
  31.  
  32. diff --git a/README.markdown b/README.markdown
  33. index ec2443f..de8fc56 100644
  34. --- a/README.markdown
  35. +++ b/README.markdown
  36. @@ -169,12 +169,15 @@ The configuration file specifies the following:
  37.  
  38. - `indexfile`: the filename of the index file (default: `index.yaml`)
  39. - `title`: the title of the whole site
  40. -- `templatedir`: the directory containing templates (default: `.`)
  41. +- `sourcedir`: the directory containing all the templates and page sources
  42. + (default: `.`)
  43. - `datadir`: the directory containing yaml data files (default: `.`)
  44. - `filesdir`: the directory containing static files (default: `files`)
  45. - `layout`: the default layout template for the site (default:
  46. `layout.html.st`)
  47.  
  48. +The path of the `layout` template is relative to `sourcedir`.
  49. +
  50. ### `index.yaml` and submenus
  51.  
  52. The index file is a YAML list of pages. Each page may have the following
  53. @@ -193,7 +196,8 @@ fields:
  54. menu
  55.  
  56. Each page must have at least `url`, `title`, and either `template` or
  57. -`source`.
  58. +`source`. Values for `template`, `source` and `layout` are relative to
  59. +`sourcedir` specified in `config.yaml`.
  60.  
  61. The pages may be organized into a tree-like hierarchy, which will be
  62. reflected in the site navigation menu. It is easiest to see how this
  63. --
  64. 1.6.4.2
Add Comment
Please, Sign In to add comment