Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
ffbs-website
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ffbs
ffbs-website
Commits
23e5a62d
Commit
23e5a62d
authored
5 years ago
by
chrissi^
Browse files
Options
Downloads
Patches
Plain Diff
Add README
Signed-off-by:
Chris Fiege
<
chris@tinyhost.de
>
parent
b382a60b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
flamingo/README
+51
-0
51 additions, 0 deletions
flamingo/README
flamingo/theme/templates/base.html
+8
-0
8 additions, 0 deletions
flamingo/theme/templates/base.html
with
59 additions
and
0 deletions
flamingo/README
0 → 100644
+
51
−
0
View file @
23e5a62d
How to use a flamingo-based website?
====================================
Requirements
------------
You will need at least Python 3.5.3 to run the live-server.
Writing Content
---------------
To write new content create a new file in `content/`.
If there is already a file that looks simliar to what you want
to do (e.g. write a blog post) just copy it.
If you want to manipulate existing content:
Take a look into the generated HTML. Between `</head>` and `<body>` is
a section containing some information about the file.
Find the file listed in `path` inside the `context/`-directory and
just edit the file ¯\_(ツ)_/¯
Preview
-------
Go into the base path of the project (that is where is `Makefile` is)
and type:
make server
Open your webbroser and navigate to http://localhost:8080/live-server .
A page in the live-server will reload every time to change the input.
Be aware that sometimes menus are broken in the preview.
Test-Deploy
-----------
If you want your changes to be reviewed by someone else you can push
your changed to a branch namend `testbed`.
Be aware that this branch may be overridden by others.
Always keep your changes in a personalized topic branch, e.g. `chrissi/blog`.
Your preview will be availalble at
https://testbed.freifunk-bs.de
Deploy
------
Push your changes to `master` and wait for the pipeline to finish
deployment.
This diff is collapsed.
Click to expand it.
flamingo/theme/templates/base.html
+
8
−
0
View file @
23e5a62d
...
...
@@ -15,6 +15,14 @@
<link
href=
"/css/small-business.css"
rel=
"stylesheet"
>
<link
href=
"/css/font-awesome.min.css"
rel=
"stylesheet"
>
</head>
<!--
Generated with flamingo.
This page was generated with this context-information:
url: {{ content.url }}
output: {{ content.output }}
template: {{ content.template }}
path: {{ content.path }} (look out for this file if you want to change this page)
-->
<body>
<nav
class=
"navbar navbar-default navbar-fixed-top"
role=
"navigation"
>
<div
class=
"container"
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment