Compare commits

...

1 Commits

Author SHA1 Message Date
Mauricio Baeza c482268fe8 Start structure 2021-10-19 22:11:00 -05:00
5 changed files with 69 additions and 0 deletions

1
requirements.txt Normal file
View File

@ -0,0 +1 @@
Jinja2

1
source/extra/css/bulma.min.css vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,40 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ZAZ - LibreOffice - API</title>
<link rel="stylesheet" href="css/bulma.min.css">
</head>
<body>
<section class="hero is-light">
<div class="hero-body">
<div class="container">
<h2 class="title"> LibreOffice </h1>
<p class="subtitle">
LibreOffice 7.2 API with examples.
</p>
</div>
</div>
</section>
<div id="content">
{% block content %}{% endblock %}
</div>
<footer class="footer">
<div class="content has-text-centered">
<p>
Site develop thanks to:
<a href="https://python.org" target='_blank'>Python</a>,
<a href="https://bulma.io/" target='_blank'>Bulma</a>.
</p>
<p>
The website content is licensed <a href="http://creativecommons.org/licenses/by-nc-sa/4.0/" target='_blank'>CC BY NC SA 4.0</a>.
</p>
</div>
</footer>
</body>
</html>

View File

@ -0,0 +1,8 @@
{% extends "base.html" %}
{% block content %}
<h1>Index</h1>
<p class="important">
Welcome to my awesome homepage.
</p>
{% endblock %}

19
source/zaz-make-site.py Normal file
View File

@ -0,0 +1,19 @@
#!/usr/bin/env python3
import argparse
def _process_command_line_arguments():
parser = argparse.ArgumentParser(description='Make site')
args = parser.parse_args()
return args
def main(args):
return
if __name__ == '__main__':
args = _process_command_line_arguments()
main(args)