calevans/staticforge-template-aperture 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

calevans/staticforge-template-aperture

最新稳定版本:1.0.1

Composer 安装命令:

composer require calevans/staticforge-template-aperture

包简介

A visual-first portfolio template.

README 文档

README

Aperture is a visual-first, dark-mode portfolio theme designed for photographers and visual artists.

Features

  • Immersive Design: Dark canvas (#111111) with cinematic hover effects.
  • Masonry Grid: Full-width, responsive grid that respects aspect ratios.
  • Clean Typography: Uses Playfair Display and Open Sans for an editorial look.
  • StaticForge Gallery: Fully integrated with the calevans/gallery shortcode plugin.

Installation

composer require calevans/staticforge-theme-aperture

Configuration

Set the theme in your siteconfig.yaml:

site:
  template: aperture

Menu Setup

This theme uses the menu1 variable for the sidebar navigation.

menu:
  top:
    Home: /
    Gallery: /photography.html
    About: /about
    Contact: /contact

Gallery Usage

This theme comes with the calevans/staticforge-gallery plugin pre-configured. To create a gallery page:

  1. Place your images in a folder inside your content structure (e.g., content/assets/images/portfolio).
  2. Create a markdown file (e.g., content/gallery.md).
  3. Use the [[gallery]] shortcode in your content:
---
title: My Portfolio
description: A collection of my work
---

# My Work

[[gallery path="assets/images/portfolio" id="my-portfolio-grid" rowHeight="300" margins="15"]]

Shortcode Attributes

  • path: Required. Relative path to images (e.g. assets/images/portfolio).
  • id: Required. A unique ID for the gallery container.
  • rowHeight: (Optional) Height of rows in pixels (default: 200).
  • margins: (Optional) Gap between images (default: 10).
  • lastRow: (Optional) Behavior of the last row: nojustify (default), justify, hide, center.

License

MIT

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: CSS

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固