Skip to content
项目

关于

更轻松的博客写作方式——一个极简的 Markdown 博客平台。

其他项目

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
0

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Dropplets v2.2

Get Going:

  1. Clone this repo
  2. Open a shell and navigate to the cloned repo
  3. Run the following command git submodule update --init --recursive
  4. Upload folder to hosting server or run locally with XAMPP
  5. Navigate to the URL of your host https://(your url)/settings
  6. Configure settings and click Create Your Blog

Manage Your Blog:

Go to https://(your url)/dashboard and all of the site options will be available.

Project Goals:

  • 30 second install and setup
  • Simple post publishing form
  • Quick password-only access
  • Database not required

Building Templates

Dropplets has two required files for templates:

  • home.php is the page that lists the posts
  • post.php is the page that displays a single post

There are a number of variables available for templates:

  • $siteConfig is an array containing all of the site information
  • $allPosts is an array containing all of the posts for page
  • $page is the current page for pagination
  • $limit is the number of posts to display per page
  • $post is an array containing the data for one post

探索相关项目

加载中…