diff options
-rw-r--r-- | src/pyssg/__main__.py | 3 | ||||
-rw-r--r-- | src/pyssg/plt/default.ini | 14 |
2 files changed, 16 insertions, 1 deletions
diff --git a/src/pyssg/__main__.py b/src/pyssg/__main__.py index 01dbe3c..9ed4d74 100644 --- a/src/pyssg/__main__.py +++ b/src/pyssg/__main__.py @@ -1,4 +1,5 @@ from .pyssg import main -main() +if __name__ == '__main__': + main() diff --git a/src/pyssg/plt/default.ini b/src/pyssg/plt/default.ini new file mode 100644 index 0000000..2700d28 --- /dev/null +++ b/src/pyssg/plt/default.ini @@ -0,0 +1,14 @@ +[dir_paths] +src=src +dst=dst +plt=plt +[urls] +url=https://example.com +static_url=https://static.example.com +default_image_url=/images/default.png +[formats] +date_format=%%a, %%b %%d, %%Y @ %%H:%%M %%Z +list_date_format=%%b %%d +list_sep_date_format=%%B %%Y +[info] +title=Example site
\ No newline at end of file |