pawroman / zola-theme-terminimal Goto Github PK
View Code? Open in Web Editor NEWA simple, minimal retro theme for Zola
Home Page: https://pawroman.github.io/zola-theme-terminimal/
License: Other
A simple, minimal retro theme for Zola
Home Page: https://pawroman.github.io/zola-theme-terminimal/
License: Other
Right now, the theme is opinionated about this and doesn't use #continue-reading
feature of Zola: https://www.getzola.org/documentation/content/page/#summary
This could be made an opt-in option, off by default not to break backwards compatibility.
Related to #1 -- as far as I know, no progress has been made there, but it could be a starting point.
Thanks for the awesome theme! I've got tags working, what's the secret to getting the archive to build?
Currently, the theme hardcodes the path to the RSS feed (if it exists), which can be an issue if you use ATOM instead.
RSS feeds are usually named rss.xml
while ATOM ones are atom.xml
, but could be anything else.
I have a backwards-compatible change to template/index.html
that works for both types of feed in #35, is this something that the project is interested in?
Hello!
I'm interested in disabling the post summaries that are displayed on the home page (using terminimal/templates/index.html
). Note: I am using the terminimal theme as a git submodule.
Initially, I tried making the following change to this line https://github.com/pawroman/zola-theme-terminimal/blob/master/templates/index.html#L74.
From: {{ post_macros::content(page=page, summary=true) }}
To: {{ post_macros::content(page=page, summary=false) }}
After setting the summary parameter to false, the summaries were still being displayed (this might be a bug?)
In addition to editing the terminimal/templates/index.html
file directly, I also tried extending the template and editing the summary parameter in the custom/extended template to no avail.
The ability to enable or disable post summaries seems like a great feature to add as a configuration option.
I could help implement this feature, but I am new to Zola and still learning how the Tera templating engine works, so any advice or recommendations would be appreciated 😄
I don’t know how made rss feed. Because when I setup atom.xml it gives me feed in Atom format, and when I use rss.xml like in zola docs it just don’t work
Adding a logo_home_link
under [extra]
in config.toml
doesn't make the top-left logo link to the user's provided value. Instead, it links to the value of base_url
.
This seems to be caused by an error in the header
block of templates/index.html
.
Now the default operation seems is to display the whole information of the blog in the blog page, It is not convenient for others to see your other article information through this blog pager. the best ways that i though is the title of the page and the abstract
Is it possibly to display some kinds of abstract in it ? Like this one https://pawroman.github.io/zola-theme-terminimal/page/3/
Maybe like someway to tag a blog to always show as the latest?
Code blocks with long lines cause the entire page to overflow/scroll horizontally, which looks really bad:
This is what I'd expect to happen in these situations:
I couldnt' get this to work by setting overflow-x:scroll
in the pre
CSS, but I did get it to work when I wrapped the <pre>
in a <div style="overflow-x:scroll">
I'd like to add a link to the source repo of the website; the footer seems like the perfect place. This could be implemented as a config.extra.website_source
setting that would add sth like "This website is open-source".
I have currently added the following in my own scss
file:
* {
font-family: '...' !important;
}
Which works fine, but, the hack
font is still downloaded, wasting some amount of time on the initial page load. Is that something I could change without making changes to the theme's code itself?
Edit: I realize that this might be more of a zola question than a theme question but I couldn't find anything in the docs so I'm just asking here for now.
When you add an image with Terminimal's image shortcode, it's visible locally (via zola serve
) but not on GitHub Pages, where it's built via zola build
in zola-deploy-action
.
I'm using the master branch of zola-deploy-action
due to a breaking bug.
Love this theme. It's great. One small issue I've had is that when you click on a post it keeps the title of the overall blog instead of incorporating the title of the article.
For example: https://pawroman.github.io/zola-theme-terminimal/terminimal-theme/
The title is the same as the overall site: "Zola Terminimal theme" when I'd expect it to be the title of the post: "Terminimal Theme for Zola".
The post view navigation HTML isn't injected into posts in zola 0.16, but it works with the same config in 0.15.3.
I haven't bisected zola yet but it should be pretty easy to find. I'm also not sure if this is a theme regression or a potential zola regression.
If the URL of the first menu item in config.toml
is not $BASE_URL
, then the build will fail.
For example, this builds :
menu_items = [
{name = "test", url = "$BASE_URL"},
]
This doesn't build :
menu_items = [
{name = "test", url = "http://test.test"},
]
It can be worked around with a nameless menu entry :
menu_items = [
{name = "", url = "$BASE_URL"},
]
The <title>
used on every single page is the one defined in the config file. I think the page title should be the same as the post title when viewing a specific post.
As reported by @ipetkov
Came across this while updating my site, turns out this change actually breaks relative image URLs 😬
Basically I am using {{ image(src="blah.jpg") }}
since sometimes I organize posts in their own directory (where index.md
and the photo are siblings under the same directory). Browsers will interpret the URL as being relative to the current URL, except now the URL is rewritten to http://127.0.0.1:1111/flower.png
even though the actual image is located at http://127.0.0.1:1111/the_post/flower.png
Originally posted by @ipetkov in #37 (comment)
Thanks for this beautiful zola theme.
Zola support Table of Contents, is it possible for terminimal to have this feature too?
Currently, the theme doesn't use Open Graph: https://ogp.me/
The theme should have an option to use Open Graph, to generate properties like title
, url
and description
automatically.
This would allow to show better link previews when pasting links to apps like Slack etc.
Hello,
I'm interested in using this theme for my blog but I ran into an issue during setup. I successfully added the theme via the git submodule add https://github.com/pawroman/zola-theme-terminimal.git themes/terminimal
command and added the theme = "terminimal"
value to my config.toml
file. The issue that I encountered occurred when trying to run zola serve
:
For reference, this is the content of the content/_index.md
file, showing that the template
and page_template
values are set to their respective files under the terminimal/templates/
directory:
In the themes/terminimal/config.toml
file there is a default value for the page_titles
variable, however it seems that it is not being recognized. I found a workaround in order for the site to be successfully served by setting page_titles = "combined"
under the [extra]
section in my config.toml
file, but I'm not sure if it is the indented behavior for a user to be required to set this value.
Thanks,
David
Figures with captions which are shorter than the width of the content div, even when position="center"
is explicitly specified, are always aligned to the left.
I believe the issue is caused by:
zola-theme-terminimal/sass/main.scss
Lines 86 to 103 in 9f79a41
See this: https://www.getzola.org/themes/apollo/
Its needed for easier site CSS customisation.
Related to #5
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.