fix: Layout and theme
This commit is contained in:
@@ -34,10 +34,15 @@ MyPortfolio/
|
||||
│ │ └── _index.md # Section config
|
||||
│ └── search.md # Search page
|
||||
├── layouts/
|
||||
│ ├── index.html # Custom home page (no recent posts)
|
||||
│ ├── partials/ # Override theme partials
|
||||
│ │ └── footer.html # Custom footer
|
||||
│ └── notes/ # Section-specific layouts
|
||||
│ └── list.html # Custom notes list
|
||||
│ │ ├── footer.html # Custom footer
|
||||
│ │ └── templates/
|
||||
│ │ └── schema_json.html # Fixed JSON-LD schema
|
||||
│ ├── posts/
|
||||
│ │ └── list.html # Custom posts list (compact style)
|
||||
│ └── notes/
|
||||
│ └── list.html # Custom notes list (compact style)
|
||||
├── static/
|
||||
│ └── files/ # Static files (CV.pdf, images, etc.)
|
||||
├── themes/
|
||||
@@ -347,7 +352,11 @@ Your `layouts/partials/footer.html` already overrides the theme's footer.
|
||||
|
||||
Create `layouts/SECTION_NAME/list.html` for a custom list layout for that section.
|
||||
|
||||
Example: `layouts/notes/list.html` - custom compact layout for notes.
|
||||
**Current custom layouts:**
|
||||
|
||||
- `layouts/index.html` - Home page with just intro + social icons (no recent posts)
|
||||
- `layouts/posts/list.html` - Compact list: `# Title` + date + 2-line description
|
||||
- `layouts/notes/list.html` - Compact list: `# Title` + date (no description)
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user