fix: makefile new-post title
This commit is contained in:
		
							parent
							
								
									eccf98f881
								
							
						
					
					
						commit
						28d503e75e
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -10,7 +10,7 @@ new-post:
 | 
			
		|||
	POST_DIR="content/blog/$$YEAR/$$MONTH/$$DAY/dummy"; \
 | 
			
		||||
	mkdir -p "$$POST_DIR"; \
 | 
			
		||||
	echo "+++" > "$$POST_DIR/index.md"; \
 | 
			
		||||
	echo "title = Dummy Post" >> "$$POST_DIR/index.md"; \
 | 
			
		||||
	echo "title = \"Dummy Post\"" >> "$$POST_DIR/index.md"; \
 | 
			
		||||
	echo "date = $$(date +%Y-%m-%d)" >> "$$POST_DIR/index.md"; \
 | 
			
		||||
	echo "draft = false" >> "$$POST_DIR/index.md"; \
 | 
			
		||||
	echo "+++" >> "$$POST_DIR/index.md"; \
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue