scarwu / pointless Goto Github PK
View Code? Open in Web Editor NEWA Static Blog Generator
License: MIT License
A Static Blog Generator
License: MIT License
php -S localhost:8888 -t /path/to/root/ phar://route.phar/script.php
HI.装了你的pointless-http://as3.brite.biz:5577/,不过我不熟悉vim,如何改用nano添加/编辑帖子?
More and more users use mobile device to read blogs,
so please add mobile layout when user uses mobile device.
Thanks.
如果在新建博客的 title 中输入带半角双引号时会导致在生成静态页面时出错。
原因是当 title 包含半角双引号时,读取 markdown 文件中的文章元信息会导致 json_decode 无法正确解析 json 数据。
Config.php 中的 "=>" 应该是等号。
$config => [......];
应该改为
$config = [.....];
Blog功能:
(ok) 網站地圖
(ok) RSS訂閱
Blog程式:
(__) Push草稿
(ok) 打包成phar
(ok) 建立資源池
(ok) 個人設定檔
考虑到 url 大部分多于一个单词,比如:
This is a test
理想的 url 形式应该是以下两种
This-is-a-test
This_is_a_test
但是现在需要用户自己输入链接符,experiment 分支中过滤了不安全字符,但是没有考虑到带空格的情况,如果用户输入的 url 带有空格,会导致之后的 system 调用失败,比如生成的文件名为
20140112_This is a test.md
那么 system 调用编辑器编辑的文件却是:
20140112_This
打开的会是一个空白文件。所以我觉得应该考虑自动把空格转换为 “_” 或者 “-”。
migration tools
我改config裡的編碼的類型,但我今天在新增一篇文章和刪除之前事發的文章時,pointless沒有辦法刪掉ㄝ.....程式也中斷掉了....QAQ
how about the custom url format? like this:
:year, :month, :day, :hour, :minute, :second, :title, :number
subtitle tag need html entity encode or using CDATA
Command:
I clear my cache of Chrome, it's seems like exist.
The page is in loading status, article link or root link ...etc...not work.
The scroll bar will go to some anchor when scroll window and skip the article link.
I try to use Safari what is not happened.
Integrate UI development tools from theme repos.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.