Commit graph

19 commits

Author SHA1 Message Date
Che
5df8051283 Remove unnecessary white space and {{ _ugly_url }}
- White space was added in error
- The {{ _ugly_url }} is not useful here because these are pages with
  anchor tags and adding index.html to the end of these doesn't provide
  value
2022-08-01 20:32:32 -04:00
Che
d5c3dbb4c6 Removed duplicated code
Was refactoring it out then realized that all pages extend index.html
Therefore the variable was already in the available context on all pages
2022-07-24 21:06:17 -04:00
Che
c50ccf9fb1 Add support for ugly urls to allow for offline sites with no webserver 2022-07-23 04:43:44 -04:00
Che
d9d1698c5d Add alt text for logo 2022-07-23 04:05:11 -04:00
Che
44b4a068f4 Table of Contents for Landing Page
If no content has been set for the landing page, put up a table of
contents by default. Many simple sites don't need a landing page that
has more than a table of contents.
2022-06-02 22:56:49 -04:00
Che
a92ff6c9b4 Fix missing safe filter 2022-06-02 21:35:30 -04:00
Che
6253b43174 Add minimal support for subsections 2022-06-02 21:35:30 -04:00
Che
c88c34eff6 Handle the case where a section has no pages 2022-06-02 21:35:30 -04:00
Che
e390130d26 Remove unnecessary white space
Adding a "-" before the "%}" removes white space after the statement.

Source: https://tera.netlify.app/docs#whitespace-control
2022-06-02 21:35:30 -04:00
Che
2871520111 Support either full URL or file from static folder
- ASSUMES: A full URL will start with http
2022-06-01 23:18:32 -04:00
Che
8e4b42511a Add default section template
- Prevent "Welcome to Zola!" message if user manually navigates to
  section page (Navigate to a page then remove last part of url)
- Implementation shows the pages in this section if the section content
  has no words.
2022-05-29 05:02:38 -04:00
Che
3f58467a8a Change variable name to stop overwriting section
- Section variable was being overwritten, appended _ to make name diff
2022-05-29 04:41:19 -04:00
Che
db695f5d34 Add option to make logo always clickable 2022-05-29 04:30:56 -04:00
Che
dfc3acd35c Add search for favicon and logo 2022-05-29 04:24:15 -04:00
Che
c35d1050e0 PyCharm Format
Clean up indentation and whitespace
2022-05-29 04:21:07 -04:00
Roman
c13e920908
wrap page toc 2021-11-20 15:14:59 +03:00
Stavros Korokithakis
4232e2a8d8
Fix the logo URL 2021-07-23 02:00:57 +03:00
codeandmedia
cd1c3c0e5f
readme and minor fixes 2021-03-14 14:36:06 +03:00
codeandmedia
3ec976842c
initial commit 2021-03-13 20:15:21 +03:00