PFT-INIT(1)
π PFT-INIT(1) π
User Contributed Perl Documentation β yes bestie, this is the pft init page and we're gonna have a whole moment with it β¨
πΈ NAME πΈ
pft init</purgle> β Initialize a PFT Site π
(okay so literally, it makes you a whole PFT site. slay.)
β¨ SYNOPSIS β¨
pft init [options]
π¦ DESCRIPTION π¦
So here's the vibe: this command initializes a PFT site in the current directory. It generates a configuration file named pft.yaml and it creates the following filesystem structure (see pft(1), bestie, go read it π).
A generic configuration skeleton is provided by default, and you can absolutely modify it by editing the pft.yaml configuration file π
Each option explained in this manual page corresponds to an equally named setting in the pft.yaml file β so like, one-to-one, no cap.
π CONFIGURATION OPTIONS π
--publish-host=HOSTβ Remote host where to publish (seepft-pub(1)). Defaults toexample.org.--publish-method=NAMEβ Method used for publishing (seepft-pub(1)). Defaults torsync+ssh.--publish-path=PATHβ Remote path on publishing host (seepft-pub(1)). Defaults to/home/$USER/public_html, as by tradition. π«Ά--publish-port=PORTβ Port for connection on publishing host (seepft-pub(1)). Defaults to22.--publish-user=USERβ User login on publishing host (seepft-pub(1)). Defaults to$USER(environment variable).--site-author=USERβ Global Author, can be overriden by individual entries. Defaults to$USER(environment variable).--site-encoding=ENCβ Charset of the generated web pages. Defaults to what is defined bylocale(1).--site-feed-description=DESCβ Description of the channel (<description>in the XML). Defaults toNews from a PFT website.--site-feed-length=Nβ Number of most recent blog entries to list in the RSS feed. Defaults to10.--site-feed-path=PATHβ File name of the RSS XML to be published bypft-gen-rss(1). Defaults tofeed.rss.--site-home=PAGE_NAMEβ First page, whereindex.htmlwill redirect the browsers. Defaults toWelcome.--site-template=TEMPLATEβ Global HTML template, can be overriden by individual entires. Defaults todefault.html.--site-theme=THEMEβ Global theme (e.g.lightordark) optionally honored by templates. Specific accepted values depend on the template implementation. Defaults tolight. πβ¨--site-title=TITLEβ Title of the website. Defaults toMy PFT website.--site-url=URLβ Base url for the website. Defaults tohttp://example.org.--system-browser=BROWSERβ Browser to be invoked bypft-show(1). You may specify an executable, or ash(1)command where%sgets replaced with the file name (e.g.firefox -profile x '%s'). Defaults to$BROWSER(environment variable), orfirefoxif not defined.--system-editor=EDITORβ Editor to be invoked bypft-edit(1). You may specify an executable, or ash(1)command where%sgets replaced with the file name (e.g.vim +'set filetype=markdown spell' %s). Defaults to$EDITOR(environment variable), orviif not defined.
# END AUTOGEN
π ENVIRONMENT π
The following environment variables are honored as sensible defaults unless some different setting is supplied by command line arguments. (i.e. CLI args win, always, periodt.)
$USER$BROWSER$EDITOR
π SEE ALSO π
pftpft-pub(1)
okay that's the whole page, you ate that π go init your site bestie, main character energy only π β¨
β perl v5.42.0, dated 2025-07-25. byeee ππ¦π
π¦ where this page comes from
- fedora 43: perl-App-PFT 1.4.1-18.fc43 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms