Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Feat: add archives page template #397

Merged
merged 4 commits into from
Dec 29, 2023
Merged

✨ Feat: add archives page template #397

merged 4 commits into from
Dec 29, 2023

Conversation

Lruihao
Copy link
Member

@Lruihao Lruihao commented Dec 29, 2023

Usage

  1. add outputFormats.archives as below:

    [outputFormats]
      # ...
      # FixIt 0.3.0 | NEW Options to make output /archives/index.html file
      [archives]
        path = "archives"
        baseName = "index"
        mediaType = "text/html"
        isPlainText = false
        isHTML = true
        permalinkable = true
  2. add "archives" in outputs.home as below:

    [outputs]
      home = ["HTML", "RSS", "JSON", "BaiduUrls", "archives"]
      # ...
  3. Head to http://localhost:1313/archives/ or add menu to header.

Demo

Demo: https://lruihao.cn/archives/

@Lruihao Lruihao added the enhancement New feature or request label Dec 29, 2023
@Lruihao Lruihao added this to the v0.3.0 milestone Dec 29, 2023
@Lruihao Lruihao self-assigned this Dec 29, 2023
Copy link

vercel bot commented Dec 29, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
fixit ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 29, 2023 7:55am

@Lruihao Lruihao linked an issue Dec 29, 2023 that may be closed by this pull request
@Lruihao Lruihao merged commit 9f24e82 into dev Dec 29, 2023
2 checks passed
@Lruihao Lruihao deleted the archives-page branch December 29, 2023 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

新增归档页面、增强全站所有文章时间线
1 participant