mirror of
https://github.com/danpros/htmly.git
synced 2026-04-21 21:16:23 +05:30
Update README.md
This commit is contained in:
parent
905c3d1369
commit
899389b6ae
1 changed files with 9 additions and 9 deletions
18
README.md
18
README.md
|
|
@ -55,13 +55,13 @@ Rename `config.ini.example` inside the `config` folder to `config.ini` (or you c
|
||||||
|
|
||||||
Create `YourUsername.ini` inside the `config/users` folder or simply rename the `username.ini.example` file and write down your password there:
|
Create `YourUsername.ini` inside the `config/users` folder or simply rename the `username.ini.example` file and write down your password there:
|
||||||
|
|
||||||
````
|
````cfg
|
||||||
password = YourPassword
|
password = YourPassword
|
||||||
````
|
````
|
||||||
|
|
||||||
HTMLy support admin user role either, simply add the following to your choosen user:
|
HTMLy support admin user role either, simply add the following to your choosen user:
|
||||||
|
|
||||||
````
|
````cfg
|
||||||
role = admin
|
role = admin
|
||||||
````
|
````
|
||||||
|
|
||||||
|
|
@ -72,7 +72,7 @@ You can login to admin panel at `www.example.com/login`.
|
||||||
### Lighttpd
|
### Lighttpd
|
||||||
Here a example configuration
|
Here a example configuration
|
||||||
|
|
||||||
````
|
````php
|
||||||
$HTTP["url"] =~ "^/config" {
|
$HTTP["url"] =~ "^/config" {
|
||||||
url.access-deny = ( "" )
|
url.access-deny = ( "" )
|
||||||
}
|
}
|
||||||
|
|
@ -95,7 +95,7 @@ url.rewrite-once = (
|
||||||
### Nginx
|
### Nginx
|
||||||
Here a basic configuration for nginx.
|
Here a basic configuration for nginx.
|
||||||
|
|
||||||
````
|
````nginx
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
|
|
||||||
|
|
@ -165,13 +165,13 @@ That means the URL is `about/me`.
|
||||||
Content Title
|
Content Title
|
||||||
-------------
|
-------------
|
||||||
If you write it offline, for the title of the post you need to add a title in the following format:
|
If you write it offline, for the title of the post you need to add a title in the following format:
|
||||||
|
```html
|
||||||
|
<!--t Here is the post title t-->
|
||||||
|
|
||||||
<!--t Here is the post title t-->
|
Paragraph 1
|
||||||
|
|
||||||
Paragraph 1
|
|
||||||
|
|
||||||
Paragraph 2 etc.
|
|
||||||
|
|
||||||
|
Paragraph 2 etc.
|
||||||
|
```
|
||||||
So wrap the title with HTML comment with `t` for both side.
|
So wrap the title with HTML comment with `t` for both side.
|
||||||
|
|
||||||
Demo
|
Demo
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue