diff options
author | hellekin <hellekin@cepheide.org> | 2020-09-29 15:48:33 +0200 |
---|---|---|
committer | hellekin <hellekin@cepheide.org> | 2020-09-29 15:48:33 +0200 |
commit | b83953220d69d7a2fcdea6bd2ba52a7b83b7008d (patch) | |
tree | 5fbb8e9e9d35660eb0e4ecf45f25702901adfb62 | |
parent | d86228244c272184401be72813ed5f33d44e0992 (diff) | |
download | dream.public.cat-b83953220d69d7a2fcdea6bd2ba52a7b83b7008d.tar.gz |
Beautify HTML
From now on, we can use `js-beautfiy` before saving the file to obtain consistent output and legible HTML.
On Emacs, you can you M-RET-= or M-X web-beautify-html
You need to have installed `js-beautify`:
`npm install -g js-beautify`
Note that I made this change after the previous ones so we have a legible diff for the functional variations between the two previous versions.
It's important to keep in mind that a change in layout mixed with actual changes will make those invisible to the eye.
-rw-r--r-- | index.html | 115 |
1 files changed, 61 insertions, 54 deletions
@@ -1,65 +1,72 @@ <!DOCTYPE html> <html> + <head> - <meta charset="UTF-8"> - <title>Digital Replicated Edge Agency Machine</title> - <link rel="stylesheet" type="text/css" href="main_style.css"> + <meta charset="UTF-8"> + <title>Digital Replicated Edge Agency Machine</title> + <link rel="stylesheet" type="text/css" href="main_style.css"> </head> + <body> - <header> - <h1>DREAM</h1> - <h2>DREAM: Distributed Replicated Edge Agency Machine</h2> - <p class="tagline"> - Internet protocols and applications - to empower citizens to act and find agency together - </p> - </header> + <header> + <h1>DREAM</h1> + <h2>DREAM: Distributed Replicated Edge Agency Machine</h2> + <p class="tagline"> + Internet protocols and applications + to empower citizens to act and find agency together + </p> + </header> - <main> - <article> - <section id="for-activists"><h2>For Activists</h2> - <p>Organize peer to peer away from corporate surveillance.</p> - <nav><a href="/pub/for-activists">read more</a></nav> - </section> - <section id="for-developers"><h2>For Developers</h2> - <p>We design networks & systems that empower & respect users, and ensure sustainability of hardware, software, and human resources.</p> - <nav><a href="/pub/for-developers">read more</a></nav> - </section> - <section id="dream-team"><h2>DREAM Team</h2> - <p>Contact the team and learn how the project came about.</p> - <nav><a href="/pub/dream-team">read more</a></nav> - </section> - </article> - </main> + <main> + <article> + <section id="for-activists"> + <h2>For Activists</h2> + <p>Organize peer to peer away from corporate surveillance.</p> + <nav><a href="/pub/for-activists">read more</a></nav> + </section> + <section id="for-developers"> + <h2>For Developers</h2> + <p>We design networks & systems that empower & respect users, and ensure sustainability of hardware, software, and human resources.</p> + <nav><a href="/pub/for-developers">read more</a></nav> + </section> + <section id="dream-team"> + <h2>DREAM Team</h2> + <p>Contact the team and learn how the project came about.</p> + <nav><a href="/pub/dream-team">read more</a></nav> + </section> + </article> + </main> - <aside> - <section id="pitch"> - <h2>Distributed Replicated Edge Agency Machine</h2> - <p><abbr title="Public Universal Base: Libre Infrastructure Community">PUBLIC</abbr> DREAM - empowers communities anywhere to collaborate in the local creation and maintenance - of open knowledge without the need for central coordination. DREAM enables the - convergence of distributed <abbr title="Peer-to-Peer">P2P</abbr> networks, linked - data models, and social solidary economy best practices. - (<a href="/pub/intro">read more</a>)</p> - </section> - <article class="topics-list"> - <section id="wp4"><h2><a href="/c/wp4-reporting/6">REPORTING</a></h2> - <d-topics-list discourse-url="https://dream.public.cat" per-page="5" category="7" status="open"></d-topics-list> + <aside> + <section id="pitch"> + <h2>Distributed Replicated Edge Agency Machine</h2> + <p><abbr title="Public Universal Base: Libre Infrastructure Community">PUBLIC</abbr> DREAM + empowers communities anywhere to collaborate in the local creation and maintenance + of open knowledge without the need for central coordination. DREAM enables the + convergence of distributed <abbr title="Peer-to-Peer">P2P</abbr> networks, linked + data models, and social solidary economy best practices. + (<a href="/pub/intro">read more</a>)</p> </section> - </article> - </aside> + <article class="topics-list"> + <section id="wp4"> + <h2><a href="/c/wp4-reporting/6">REPORTING</a></h2> + <d-topics-list discourse-url="https://dream.public.cat" per-page="5" category="7" status="open"></d-topics-list> + </section> + </article> + </aside> - <footer> - <nav> - <ul> - <li><a href="/pub/contact">Contact</a></li> - <li><a href="/pub/for-activists">For Activists</a></li> - <li><a href="/pub/for-developers">For Developers</a></li> - </ul> - </nav> - <p>Copyright ©2020 PUBLIC — <a href="mailto:dream@public.cat">dream@public.cat</a></p> - </footer> - <!-- Load latest open topics from Discourse --> - <script src="https://dream.public.cat/javascripts/embed-topics.js"></script> + <footer> + <nav> + <ul> + <li><a href="/pub/contact">Contact</a></li> + <li><a href="/pub/for-activists">For Activists</a></li> + <li><a href="/pub/for-developers">For Developers</a></li> + </ul> + </nav> + <p>Copyright ©2020 PUBLIC — <a href="mailto:dream@public.cat">dream@public.cat</a></p> + </footer> + <!-- Load latest open topics from Discourse --> + <script src="https://dream.public.cat/javascripts/embed-topics.js"></script> </body> + </html> |