Merge pull request #13 from spenczar/copyediting
Minor edits to website copy
This commit is contained in:
commit
5a80fda8f8
|
@ -6,10 +6,10 @@ sort_key: 50
|
||||||
---
|
---
|
||||||
body:
|
body:
|
||||||
|
|
||||||
Lektor comes in two flavors: the command line executable as well as as a
|
Lektor comes in two flavors: as a command line executable and as a
|
||||||
desktop application. The desktop version also contains the command line
|
desktop application. The desktop version also contains the command
|
||||||
executable however it bundles together all dependencies of Lektor in an
|
line executable, but it also bundles together all dependencies of Lektor
|
||||||
easy to use package which heavily simplifies installation.
|
in an easy to use package which heavily simplifies installation.
|
||||||
|
|
||||||
## Desktop Application
|
## Desktop Application
|
||||||
|
|
||||||
|
@ -24,9 +24,9 @@ and then click on *Lektor ➤ Install Shell Command*.
|
||||||
|
|
||||||
## Command Line Application
|
## Command Line Application
|
||||||
|
|
||||||
If you do not want to install the desktop app you can just install the command
|
If you do not want to install the desktop app then you can just install the command
|
||||||
line executable. This one runs on more operating systems (OSX, Linux and
|
line executable. This runs on more operating systems (OSX, Linux and Windows) but
|
||||||
Windows) but the installation is a bit more involved.
|
the installation is a bit more involved.
|
||||||
|
|
||||||
You need to make sure you have the following software installed on your computer:
|
You need to make sure you have the following software installed on your computer:
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ You need to make sure you have the following software installed on your computer
|
||||||
install imagemagick`, which requires [chocolatey :ext](https://chocolatey.org/),
|
install imagemagick`, which requires [chocolatey :ext](https://chocolatey.org/),
|
||||||
or [download from here :ext](http://www.imagemagick.org)).
|
or [download from here :ext](http://www.imagemagick.org)).
|
||||||
|
|
||||||
Once you have that installed and made sure that they are on your `PATH` you can
|
Once you have those installed and have made sure that they are on your `PATH`, you can
|
||||||
get Lektor installed with our installation script:
|
get Lektor installed with our installation script:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
|
@ -87,7 +87,7 @@ but are contained within a field of a model.
|
||||||
### `packages/`
|
### `packages/`
|
||||||
|
|
||||||
For local plugin development the `packages/` folder can be used. Any plugin
|
For local plugin development the `packages/` folder can be used. Any plugin
|
||||||
stored in there is automatically actviated in the system.
|
stored in there is automatically activated in the system.
|
||||||
|
|
||||||
### `configs/`
|
### `configs/`
|
||||||
|
|
||||||
|
|
|
@ -50,7 +50,7 @@ $ lektor server
|
||||||
```
|
```
|
||||||
|
|
||||||
This will automatically start the server and you can navigate to
|
This will automatically start the server and you can navigate to
|
||||||
[localhost:5000](http://localhost:5000/) go open the project.
|
[localhost:5000](http://localhost:5000/) open the project.
|
||||||
|
|
||||||
You can keep the server running, it will automatically rebuild your files as
|
You can keep the server running, it will automatically rebuild your files as
|
||||||
they change.
|
they change.
|
||||||
|
|
|
@ -6,8 +6,8 @@ sort_key: 20
|
||||||
---
|
---
|
||||||
body:
|
body:
|
||||||
|
|
||||||
When it comes to creating websites, there is a ludicrous amount of tools available.
|
When it comes to creating websites, there is a ludicrous number of tools available.
|
||||||
They range from full blown content management solutions like Drupal over
|
They range from full-blown content management solutions like Drupal to
|
||||||
desktop solutions like Google Web Designer to Cloud Hosted Website solutions
|
desktop solutions like Google Web Designer to Cloud Hosted Website solutions
|
||||||
like WIX to more programmer focused approaches like Jekyll which generate
|
like WIX to more programmer focused approaches like Jekyll which generate
|
||||||
websites out of templates and markdown files.
|
websites out of templates and markdown files.
|
||||||
|
@ -17,31 +17,31 @@ websites out of templates and markdown files.
|
||||||
## Lektor is Static
|
## Lektor is Static
|
||||||
|
|
||||||
Lektor learned from the huge range of static file generators like Jekyll,
|
Lektor learned from the huge range of static file generators like Jekyll,
|
||||||
Pelican, Hugo, Middleman and many more about the values of generating a
|
Pelican, Hugo, Middleman and many more about the value of generating a
|
||||||
completely static website. This means that unlike WordPress or similar
|
completely static website. This means that unlike WordPress or similar
|
||||||
solutions it does not run on a server, but your local computer (or a build
|
solutions it does not run on a server, but your local computer (or a build
|
||||||
server) and generates out static HTML that can be uploaded to any web server
|
server), and generates static HTML that can be uploaded to any web server or
|
||||||
or content distribution platform like S3 with CloudFront.
|
content distribution platform like S3 with CloudFront.
|
||||||
|
|
||||||
Why go static? Because the vast, vast majority of websites will be read many
|
Why go static? Because the vast, vast majority of websites will be read many
|
||||||
more times than they will update. This is crucial because dynamic does not
|
more times than they will be updated. This is crucial because dynamic content
|
||||||
come for free. It needs server resources and because program code is running
|
does not come for free. It needs server resources and because program code is
|
||||||
there it needs to be kept up to date for to ensure there are no security
|
running there it needs to be kept up to date for to ensure there are no security
|
||||||
problems that are left unpatched. Also when a website gets a sudden spike
|
problems that are left unpatched. Also when a website gets a sudden spike of
|
||||||
of traffic a static website will stay up for longer on the same server than
|
traffic a static website will stay up for longer on the same server than a
|
||||||
a dynamic one that needs to execute code.
|
dynamic one that needs to execute code.
|
||||||
|
|
||||||
Sure, there are some things you cannot do on a static website, but those
|
Sure, there are some things you cannot do on a static website, but those are not
|
||||||
things you would not use Lektor for. For small dynamic sections, JavaScript
|
things you would not use Lektor for. For small dynamic sections, JavaScript
|
||||||
and pairing up with other services is a good solution.
|
paired up with other services is a good solution.
|
||||||
|
|
||||||
<img src="static.png" alt="" class="screenshot">
|
<img src="static.png" alt="" class="screenshot">
|
||||||
|
|
||||||
## Lektor is a CMS
|
## Lektor is a CMS
|
||||||
|
|
||||||
However Lektor also takes from content management systems like WordPress
|
However, Lektor also takes from content management systems like WordPress
|
||||||
and provides a flexible browser based admin interface from which you can
|
and provides a flexible browser-based admin interface from which you can
|
||||||
edit your website's contents. Unlike traditional CMS solutions however it
|
edit your website's contents. Unlike traditional CMS solutions, however, it
|
||||||
runs entirely on your own computer.
|
runs entirely on your own computer.
|
||||||
|
|
||||||
This means you can give a Lektor website to people that have no understanding
|
This means you can give a Lektor website to people that have no understanding
|
||||||
|
@ -51,7 +51,7 @@ of programming and they can still modify the content and update the website.
|
||||||
|
|
||||||
## Lektor is a Framework
|
## Lektor is a Framework
|
||||||
|
|
||||||
Lastly however Lektor learns from experience in writing web frameworks. Lektor
|
Lastly, Lektor learns from experience in writing web frameworks. Lektor
|
||||||
is much more than a website generator because it is based on a very flexible
|
is much more than a website generator because it is based on a very flexible
|
||||||
internal flat file database which can be used to model any website content.
|
internal flat file database which can be used to model any website content.
|
||||||
Unlike static blog generators which are based on some markdown content and
|
Unlike static blog generators which are based on some markdown content and
|
||||||
|
|
Loading…
Reference in New Issue