Skip to content

Conversation

Riceneeder
Copy link

@Riceneeder Riceneeder commented Oct 12, 2025

  • Created a new page layout (layout/pages/publications/publications.ejs) to display publication information including title, author, journal and DOI
  • Created a new stylesheet for the publications page (source/css/layout/publications.styl) to define the layout and styling for publication items.
  • Updated the main stylesheet (source/css/style.styl) to include the new publications styles.
  • Updated the corresponding translation files

Usage:

  1. Create data in source/_data/publications. yml, format example:
items:
- title: Deep Learning for Rice Yield
  authors: Alice Zhang, Bob Chen
  journal: Journal of Agricultural AI
  doi: 10.1234/example
  url: https://doi.org/10.1234/example 
  1. Create a page 'hexo new page publications' and edit' source/publications/index. md ':
---
title: title
date: 2025-10-12 19:04:49
type: publications
---

with enable developer mode:

  developer:
    enable: true

The effect is as follows:

image

EvanNotFound and others added 3 commits August 28, 2025 09:48
- Created a new stylesheet for the publications page (`publications.styl`) to define the layout and styling for publication items.
- Updated the main stylesheet (`style.styl`) to include the new publications styles.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants