A mirror of my website's source code.

By using this site, you agree to have cookies stored on your device, strictly for functional purposes, such as storing your session and preferences.

Dismiss

Bugfix: Corrected build directory for JSONFeed builder

steve0greatness,
created on Thursday, 18 January 2024, 04:37:59 (1705552679), received on Monday, 6 May 2024, 02:55:34 (1714964134)
Author identity: Steve0Greatness <75220768+Steve0Greatness@users.noreply.github.com>

f25639ee0b6e784d4df09f371a87838bc33308d8

build.py

@@ -118,7 +118,7 @@ def CreateJSONFeed():

                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            			"date_published": post["date"],
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            			"url": "https://steve0greatness.github.io/blog/" + post["pathname"]
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                    })
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            with open("build/blog/feed.json", "w") as JSONFeedFile:
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            with open(BUILD_DIRECTORY + "/blog/feed.json", "w") as JSONFeedFile:
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                    DumpJSON(CreatedJSON, JSONFeedFile)
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            if __name__ == "__main__":