From 24bf360fb6500cc8c677d3c424486f4f58ff5d47 Mon Sep 17 00:00:00 2001
From: James Darnley
- There's two install mode for fugitive: local and remote. The local mode
+ There are two install modes for fugitive: local and remote. The local mode
should be used to install a repository where you edit your blog, and the
remote mode for a repository to which you're going to push to publish your
blog.
- The local mode can also be used to publish if you edit your file directly on
+ The local mode can also be used to publish if you edit your files directly on
your server.
@@ -44,7 +44,7 @@ fugitive: README
fugitive --install-mode <dir>
,
where mode is either "local" or "remote".
- This will create the git repos with appropriate hooks, config and files in
+ This will create a git repository with appropriate hooks, config and files in
<dir>.
If <dir> isn't specified then the current working directory is used.
@@ -58,7 +58,7 @@ fugitive: README
- All this settings are in the "fugitive" section of the git config.
+ All these settings are in the "fugitive" section of the git config.
You can change them with the command
git config fugitive.parameter value
,
where parameter is one of the following:
@@ -66,9 +66,9 @@ fugitive: README
- Article you want to publish should be file without the .html extension in the + Articles you want to publish should be a file without the .html extension in the articles-dir directory (see configuration). - The first line of the file will be used as title and the rest of the file as + The first line of the file will be used as a title and the rest of the file as the content of the article.
@@ -164,7 +164,7 @@ fugitive: README
more accurate than xml comments (<!-- var -->
).
- In addition to variable rendering, there are a conditional and a foreach loop + In addition to variable rendering, there is a conditional and a foreach loop constructs, plus an include directive.
@@ -180,14 +180,14 @@ fugitive: README available, the loops are processed right after the includes.
- The syntax of the conditional construct is as follow: + The syntax of the conditional construct is as follows:
<?fugitive ifset:var ?> Template code which is ignored if var value is empty, and which typically includes <code><?fugitive var ?></code>. <?fugitive endifset:var ?>
- Not every variables can be used in the conditional construct, it is indicated + Not every variable can be used in the conditional construct, this is indicated in the description of those which can't.
The following variables are available everywhere:
@@ -200,7 +200,7 @@ fugitive: README
Two foreach loops are available: foreach:article
- and foreach:commit
. The syntax is as follow:
+ and foreach:commit
. The syntax is as follows:
<?fugitive foreach:article ?>
Template code that will be repeated for each article and
--
cgit v1.2.3