Skip to content

Commit

Permalink
周三-03-06 11:49:51
Browse files Browse the repository at this point in the history
  • Loading branch information
asdqwe123456 committed Mar 6, 2024
1 parent 5c7fc73 commit 0bdeb83
Show file tree
Hide file tree
Showing 105 changed files with 20,759 additions and 1,165 deletions.
9 changes: 6 additions & 3 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.

title: Your awesome title
title: li54426 blog
email: [email protected]
author: GitHub User
author: li54426

# Copyright setting
# You can use any html code, currently below placeholders are available:
Expand All @@ -46,16 +46,19 @@ description: >- # this means to ignore newlines until "baseurl:"
Write an awesome description for your new site here. You can edit this
line in _config.yml. It will appear in your document head meta (for
Google search results) and in your feed.xml site description.
记录我的代码和日常生活

baseurl: "" # the subpath of your site, e.g. /blog
url: "" # the base hostname & protocol for your site, e.g. https://example.com
favicon: "" # the favicon for your site
favicon: "assets/my/favicon.ico" # the favicon for your site

# Yat date format
# refer to https://shopify.github.io/liquid/filters/date/ if you want to customize this
yat:
date_format: "%b %d, %Y"

permalink: /:categories/:year/:title.html

# If you want more debug log, you can set true
# debug: false

Expand Down
1 change: 1 addition & 0 deletions _posts/.placeholder
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

22 changes: 22 additions & 0 deletions _posts/0_md_generator.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/bin/bash

filename=$(date +"%Y-%m-%d-.md")

cat > "$filename" << EOF
---
layout: blog
banana: true
category: default
title:
date: $(date +"%Y-%m-%d %H:%M:%S")
background-image: http://ot1cc1u9t.bkt.clouddn.com/17-8-1/24280498.jpg
tags:
- default
- memcache
---
* content
{:toc}
EOF

echo "文件已生成:$filename"
76 changes: 0 additions & 76 deletions _posts/2015-02-28-test-markdown.md

This file was deleted.

Loading

0 comments on commit 0bdeb83

Please sign in to comment.