@@ -3,55 +3,65 @@ xlog --help
33
44Usage of xlog:
55 -activitypub.domain string
6- domain used for activitypub stream absolute URLs
6+ domain used for activitypub stream absolute URLs
77 -activitypub.icon string
8- the path to the activitypub profile icon. mastodon use it as profile picture for example. (default "/public/logo.png")
8+ the path to the activitypub profile icon. mastodon use it as profile picture for example. (default "/public/logo.png")
99 -activitypub.image string
10- the path to the activitypub profile image. mastodon use it as profile cover for example. (default "/public/logo.png")
10+ the path to the activitypub profile image. mastodon use it as profile cover for example. (default "/public/logo.png")
1111 -activitypub.summary string
12- summary of the user for activitypub actor
12+ summary of the user for activitypub actor
1313 -activitypub.username string
14- username for activitypub actor
14+ username for activitypub actor
1515 -bind string
16- IP and port to bind the web server to (default "127.0.0.1:3000")
16+ IP and port to bind the web server to (default "127.0.0.1:3000")
1717 -build string
18- Build all pages as static site in this directory
18+ Build all pages as static site in this directory
19+ -custom_after_view string
20+ path to a file it's content will be included in every page AFTER the content of the page
21+ -custom_before_view string
22+ path to a file it's content will be included in every page BEFORE the content of the page
1923 -custom_css string
20- Custom CSS file path
24+ Custom CSS file path
25+ -custom_head string
26+ path to a file it's content will be included in every page <head> tag
2127 -disqus string
22- Disqus domain name for example: xlog-emadelsaid.disqus.com
28+ Disqus domain name for example: xlog-emadelsaid.disqus.com
2329 -github.branch string
24- Github repository branch to use for 'edit on Github' quick action (default "master")
30+ [Deprecated] Github repository branch to use for 'edit on Github' quick action (default "master")
2531 -github.repo string
26- Github repository to use for 'edit on Github' quick action
32+ [Deprecated] Github repository to use for 'edit on Github' quick action e.g https://github.com/emad-elsaid/xlog
33+ -github.url string
34+ Repository url for 'edit on Github' quick action e.g https://github.com/emad-elsaid/xlog/edit/master/docs
2735 -gpg string
28- PGP key ID to decrypt and edit .md.pgp files using gpg. if empty encryption will be off
36+ PGP key ID to decrypt and edit .md.pgp files using gpg. if empty encryption will be off
2937 -html
30- Consider HTML files as pages
38+ Consider HTML files as pages
3139 -index string
32- Index file name used as home page (default "index")
40+ Index file name used as home page (default "index")
41+ -notfoundpage string
42+ Custom not found page (default "404")
3343 -og.domain string
34- opengraph domain name to be used for meta tags of og:* and twitter:*
44+ opengraph domain name to be used for meta tags of og:* and twitter:*
3545 -pandoc
36- Use pandoc to render .org, .rst, .rtf, .odt
46+ Use pandoc to render .org, .rst, .rtf, .odt
3747 -readonly
38- Should xlog hide write operations, read-only means all write operations will be disabled
48+ Should xlog hide write operations, read-only means all write operations will be disabled
3949 -rss.description string
40- RSS feed description
50+ RSS feed description
4151 -rss.domain string
42- RSS domain name to be used for RSS feed. without HTTPS://
52+ RSS domain name to be used for RSS feed. without HTTPS://
4353 -rss.limit int
44- Limit the number of items in the RSS feed to this amount (default 30)
54+ Limit the number of items in the RSS feed to this amount (default 30)
4555 -serve-insecure
46- Accept http connections and forward crsf cookie over non secure connections
56+ Accept http connections and forward crsf cookie over non secure connections
4757 -sidebar
48- Should render sidebar. (default true)
58+ Should render sidebar. (default true)
4959 -sitemap.domain string
50- domain name without protocol or trailing / to use for sitemap loc
60+ domain name without protocol or trailing / to use for sitemap loc
5161 -sitename string
52- Site name is the name that appears on the header beside the logo and in the title tag (default "XLOG")
62+ Site name is the name that appears on the header beside the logo and in the title tag (default "XLOG")
5363 -source string
54- Directory that will act as a storage (default "/path/to/source ")
64+ Directory that will act as a storage (default "/home/emad/code/xlog ")
5565 -twitter.username string
56- user twitter account @handle. including the @
66+ user twitter account @handle. including the @
5767```
0 commit comments