chore: build drafts and future posts in dev server (makefile)
This commit is contained in:
		
							parent
							
								
									9f178303f5
								
							
						
					
					
						commit
						3b986cf4ed
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
.PHONY: server new-post
 | 
			
		||||
 | 
			
		||||
server:
 | 
			
		||||
	hugo server
 | 
			
		||||
	hugo server --buildFuture --buildDrafts
 | 
			
		||||
 | 
			
		||||
new-post:
 | 
			
		||||
	@YEAR=$$(date +%Y); \
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue