Skip to content

Some advices about blog #227

Open
Open
@zse4t7i

Description

@zse4t7i

I have some thoughts about blog page.

  • Add a tag filter to enhance blog's function.
  • Use timeline and card view to optimize blog page UI.

Then I use steps & cards shortcode to build a demo(And you can see the card with image has a display error).

// File path: content/blog/_index.md

{{% steps %}}

### 2023

{{< cards >}}
  {{< card link="/" title="My first blog" icon="document-text" 
  subtitle="这篇文章提供了一些基础的 Markdown 语法样例,这些可以在 Hugo 的内容文件中使用.">}}
  {{< card link="/" title="My second blog" icon="document-text">}}
{{< /cards >}}

### 2022

{{< cards >}}
  {{< card link="/" title="Blog with cover" 
  image="https://source.unsplash.com/featured/800x600?landscape"  >}}
{{< /cards >}}

{{% /steps %}}

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    blogRelated to blog functionality and stylesenhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions