forked from Decentrala/website
		
	[Banner] temp banner for every page
This commit is contained in:
		@@ -29,13 +29,15 @@ def main():
 | 
			
		||||
        templateEN = fTempEN.read()
 | 
			
		||||
        for page in PAGES:
 | 
			
		||||
            with open(f'pages/sr/{page["name"]}.html') as f:
 | 
			
		||||
                pageHtml = f.read()
 | 
			
		||||
                pageHtml = "<div><img src='/img/students_bug.jpg' alt='Studenti su nasli bug' /></div>"
 | 
			
		||||
                pageHtml += f.read()
 | 
			
		||||
                html = buildPage(page['name'], page['titleSR'], pageHtml, page['style'], templateSR)
 | 
			
		||||
                f = open(f'site/{page["name"]}.html', 'w')
 | 
			
		||||
                f.write(html)
 | 
			
		||||
                f.close()
 | 
			
		||||
            with open(f'pages/en/{page["name"]}.html') as f:
 | 
			
		||||
                pageHtml = f.read()
 | 
			
		||||
                pageHtml = "<div><img src='/img/students_bug.jpg' alt='Students found the bug' /></div>"
 | 
			
		||||
                pageHtml += f.read()
 | 
			
		||||
                html = buildPage(page['name'], page['titleEN'], pageHtml, page['style'], templateEN)
 | 
			
		||||
                f = open(f'site/en/{page["name"]}.html', 'w')
 | 
			
		||||
                f.write(html)
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								site/img/students_bug.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								site/img/students_bug.jpg
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 158 KiB  | 
		Reference in New Issue
	
	Block a user