Replies: 9 comments 7 replies
-
That should be the behavior when you simply don't define an excerpt: https://squidfunk.github.io/mkdocs-material/setup/setting-up-a-blog/#adding-an-excerpt |
Beta Was this translation helpful? Give feedback.
-
Not my experience. Here is an example:
…---
title: "Top Python libraries of 2023"
author: Pito Salas
date: 2024-01-10
tags:
- ai
- data-science
- libraries
- package
- python-tag
---
[ Top Python libraries of 2023](< https://tryolabs.com/blog/top-python-
libraries-2023>) –Exploring the expansive universe of Python libraries in
2023, our curated selection goes beyond the usual suspects to uncover hidden
gems and innovative tools. Dive in!
Gives the following (note the “continue reading”.) Maybe I misunderstand,
maybe that’s not an excerpt but something else.
But basically I want not to have continue reading in any case. I want the
whole blog post plus meta data to be part of the index page. This is what
the singleton blog post looks like (what I see when I click continue
reading.) I would like that to be part of the blog index page.
On Jan 13, 2024 at 12:13:31 PM, Alexander Voss ***@***.***> wrote:
That should be the behavior when you simply don't define and excerpt:
https://squidfunk.github.io/mkdocs-material/setup/setting-up-a-blog/#adding-an-excerpt
—
Reply to this email directly, view it on GitHub
<#6642 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAK5CNTC7C7GW6TXX27P6DYOK6DXAVCNFSM6AAAAABBZMOCOGVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DCMJZGE4TK>
.
You are receiving this because you authored the thread.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
I see, the "continue reading" link still exists on the index page. I guess it does make sense to have a link to the blog post itself, even if it is possible to read it in full on the index page. Perhaps a different link text might be better but I am not sure I can suggest something that would work in all cases? In any case, you should be able to hide the link with some extra css: .md-post__action {
display: none;
} |
Beta Was this translation helpful? Give feedback.
-
Thanks… yeah, actually what I am trying is that all the text of the post
appear in the index page, no matter how long It is. Maybe someone else on
the list has an idea…?
…On Jan 15, 2024 at 7:51:12 PM, Alexander Voss ***@***.***> wrote:
I see, the "continue reading" link still exists on the index page. I guess
it does make sense to have a link to the blog post itself, even if it is
possible to read it in full on the index page. Perhaps a different link
text might be better but I am not sure I can suggest something that would
work in all cases?
In any case, you should be able to hide the link with some extra css
<https://squidfunk.github.io/mkdocs-material/customization/?h=extra+css#additional-css>
:
.md-post__action {
display: none;
}
—
Reply to this email directly, view it on GitHub
<#6642 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAK5CL2464STLZNVW3MCY3YOXFIBAVCNFSM6AAAAABBZMOCOGVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DCMZYGU3TK>
.
You are receiving this because you authored the thread.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
Hi Alexander
Absolutely!
Here’s my yaml:
site_name: Salas.com
site_description: Pito Salas Link Blog and More
site_author: Pito Salas
copyright: Copyright © 2000-2024 Pito Salas
docs_dir: docs
theme:
name: material
features:
- navigation.footer
- navigation.prefetch
- navigation.tabs
- search.suggest
custom_dir: overrides
plugins:
- search
- blog:
blog_dir: .
- tags:
enabled: true
tags: true
tags_file: tags.md
nav:
- Blog:
- index.md
- Finding a Job: pages/finding-a-job.md
- Independent Study: pages/independent-study.md
- pages/keeping-up.md
- pages/curacao.md
- pages/recommendations.md
- pages/about.md
- tags.md
extra_css:
- mystyle.css
Here is the screenshot, notice the “continue reading”.
Here’s what the linked page looks like. Notice it is identical except that
it shows the tags and the metadata.
…On J Here’s the markdown file: --- title: "Top Python libraries of 2023" author: Pito Salas date: 2024-01-10 tags: - ai - data-science - libraries - package - python-tag --- [ Top Python libraries of 2023](< https://tryolabs.com/blog/top-python- libraries-2023>) –Exploring the expansive universe of Python libraries in 2023, our curated selection goes beyond the usual suspects to uncover hidden gems and innovative tools. Dive in! What I would like is that the index page (my first image with the continue reading) instead showed a section like my second image, with the tags. So in other words, don’t put a “continue reading” and don’t cut off the post if it’s too long. Thanks, Pito an 16, 2024 at 9:46:22 AM, Alexander Voss ***@***.***> wrote:
I am not sure I understand what it is that you are trying to do that is
not working. If I create a blog and do not define an excerpt, the whole
post appears in the blog index:
image.png (view on web)
<https://github.com/squidfunk/mkdocs-material/assets/4134224/de13b1e3-9435-4bf6-8900-a4f5bc313afb>
I did check with the public version as well as Insiders. Can you please
make a screenshot or provide a minimal reproduction
<https://squidfunk.github.io/mkdocs-material/guides/creating-a-reproduction/>
so we can see what is not working?
—
Reply to this email directly, view it on GitHub
<#6642 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAK5CN7BGSEU4Q4BYPNTQ3YO2HD5AVCNFSM6AAAAABBZMOCOGVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DCNBVGIYDG>
.
You are receiving this because you authored the thread.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
Here you go.
…On Jan 16, 2024 at 8:24:02 PM, Martin Donath ***@***.***> wrote:
Please read our guide how to create a minimal reproduction
<https://squidfunk.github.io/mkdocs-material/guides/creating-a-reproduction/>.
Without it, we are not able to help you.
—
Reply to this email directly, view it on GitHub
<#6642 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAK5CLBNUOZVU4ETAUSUULYO4R3FAVCNFSM6AAAAABBZMOCOGVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DCNJQHEZDI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
materia-repro.zip
<https://drive.google.com/file/d/1FsiAw8rClBtcHGPuYivRRqQ76I99B91h/view?usp=drive_web>
…On Wed, Jan 17, 2024 at 3:30 AM ddorian ***@***.***> wrote:
I'm getting the same thing as him, but I will wait for him to upload his
zip.
—
Reply to this email directly, view it on GitHub
<#6642 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAK5CPZ5IOILOP63W3KCH3YO6DYTAVCNFSM6AAAAABBZMOCOGVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DCNJTGYZDK>
.
You are receiving this because you authored the thread.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
Hi again
I think I sent you exactly that. The reproduction was done and a zip was
sent this morning.
But anyway, let’s forget it. I don’t think what I want is possible anyway.
Ok to close the ticket.
Thanks for your help,
Pito
I think it was "To not print Continue reading link ?
…
—
Reply to this email directly, view it on GitHub
<#6642 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAK5CK3HIV5KE4YFHDKMTLYO7RE5AVCNFSM6AAAAABBZMOCOGVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DCNJXHE2DK>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
Thanks. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In other words, I would like the whole post to appear on the index page?
Beta Was this translation helpful? Give feedback.
All reactions