diff options
Diffstat (limited to 'README')
-rw-r--r-- | README | 19 |
1 files changed, 10 insertions, 9 deletions
@@ -67,6 +67,8 @@ Writing News | |||
67 | 67 | ||
68 | Writing news posts for gnunet.org involves a couple of steps. | 68 | Writing news posts for gnunet.org involves a couple of steps. |
69 | If you intend to write a new post, read this carefully. | 69 | If you intend to write a new post, read this carefully. |
70 | Note that this section will be worked into a separate onboarding | ||
71 | section in the manual. | ||
70 | 72 | ||
71 | * Every news post is wrapped in an <article> element, outside | 73 | * Every news post is wrapped in an <article> element, outside |
72 | of the news post itself. | 74 | of the news post itself. |
@@ -77,18 +79,17 @@ If you intend to write a new post, read this carefully. | |||
77 | assigned as the title for the rss feed item for this post. | 79 | assigned as the title for the rss feed item for this post. |
78 | 80 | ||
79 | * Every news post must get added as a dict to the newspost list | 81 | * Every news post must get added as a dict to the newspost list |
80 | in template.py. If you are not sure what those words mean, search | 82 | in www.yml. If you are not sure what those words mean, search |
81 | "newsposts" in template.py. There you will find a structure where | 83 | "newsposts" in www.yml. |
82 | you have to add a new member including the "," at the end. | 84 | There you will find a structure where you have to add a new |
85 | member. | ||
83 | New posts get added to the top of the list, not at the bottom | 86 | New posts get added to the top of the list, not at the bottom |
84 | (this list is also responsible for the 5 newest entries on the | 87 | (this list is also responsible for the 5 newest entries on the |
85 | frontpage). | 88 | frontpage). |
86 | 89 | ||
87 | { | 90 | - page: 2019-0.12.0.html |
88 | 'page': 'name-of-page.html', | 91 | date: 2019-12-15 |
89 | 'date': '2019-10-31', | 92 | title: GNUnet 0.12.0 |
90 | 'title': 'My new post' | ||
91 | }, | ||
92 | 93 | ||
93 | * page must be the name of the file without the leading news/ | 94 | * page must be the name of the file without the leading news/ |
94 | * date must be a valid date in exactly this format. | 95 | * date must be a valid date in exactly this format. |
@@ -133,8 +134,8 @@ Additional Notes | |||
133 | Please use HTML codes, not international signs as found on your keyboard. | 134 | Please use HTML codes, not international signs as found on your keyboard. |
134 | 135 | ||
135 | This website has been tested with: | 136 | This website has been tested with: |
136 | * python 3.6.5 and jinja2 2.9.6. | ||
137 | * python 3.7.1, Babel 2.6.0, py-jinja2 2.10 (pkgsrc, NetBSD 8.0) | 137 | * python 3.7.1, Babel 2.6.0, py-jinja2 2.10 (pkgsrc, NetBSD 8.0) |
138 | |||
138 | Since python development in collaborative environments with | 139 | Since python development in collaborative environments with |
139 | a whole range of possibilities in what your environment looks | 140 | a whole range of possibilities in what your environment looks |
140 | like, please state problems on the mailinglist instead of just | 141 | like, please state problems on the mailinglist instead of just |