mirror of
				https://github.com/newtype256/website.git
				synced 2025-11-04 04:10:48 +01:00 
			
		
		
		
	% stack exec hakyll-init newtype.fr
This commit is contained in:
		
							parent
							
								
									bb83368880
								
							
						
					
					
						commit
						eb34fdd739
					
				
					 18 changed files with 607 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								templates/archive.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								templates/archive.html
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,2 @@
 | 
			
		|||
Here you can find all my previous posts:
 | 
			
		||||
$partial("templates/post-list.html")$
 | 
			
		||||
							
								
								
									
										33
									
								
								templates/default.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								templates/default.html
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,33 @@
 | 
			
		|||
<!doctype html>
 | 
			
		||||
<html lang="en">
 | 
			
		||||
    <head>
 | 
			
		||||
        <meta charset="utf-8">
 | 
			
		||||
        <meta http-equiv="x-ua-compatible" content="ie=edge">
 | 
			
		||||
        <meta name="viewport" content="width=device-width, initial-scale=1">
 | 
			
		||||
        <title>My Hakyll Blog - $title$</title>
 | 
			
		||||
        <link rel="stylesheet" href="/css/default.css" />
 | 
			
		||||
    </head>
 | 
			
		||||
    <body>
 | 
			
		||||
        <header>
 | 
			
		||||
            <div class="logo">
 | 
			
		||||
                <a href="/">My Hakyll Blog</a>
 | 
			
		||||
            </div>
 | 
			
		||||
            <nav>
 | 
			
		||||
                <a href="/">Home</a>
 | 
			
		||||
                <a href="/about.html">About</a>
 | 
			
		||||
                <a href="/contact.html">Contact</a>
 | 
			
		||||
                <a href="/archive.html">Archive</a>
 | 
			
		||||
            </nav>
 | 
			
		||||
        </header>
 | 
			
		||||
 | 
			
		||||
        <main role="main">
 | 
			
		||||
            <h1>$title$</h1>
 | 
			
		||||
            $body$
 | 
			
		||||
        </main>
 | 
			
		||||
 | 
			
		||||
        <footer>
 | 
			
		||||
            Site proudly generated by
 | 
			
		||||
            <a href="http://jaspervdj.be/hakyll">Hakyll</a>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </body>
 | 
			
		||||
</html>
 | 
			
		||||
							
								
								
									
										7
									
								
								templates/post-list.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								templates/post-list.html
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,7 @@
 | 
			
		|||
<ul>
 | 
			
		||||
    $for(posts)$
 | 
			
		||||
        <li>
 | 
			
		||||
            <a href="$url$">$title$</a> - $date$
 | 
			
		||||
        </li>
 | 
			
		||||
    $endfor$
 | 
			
		||||
</ul>
 | 
			
		||||
							
								
								
									
										11
									
								
								templates/post.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								templates/post.html
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,11 @@
 | 
			
		|||
<article>
 | 
			
		||||
    <section class="header">
 | 
			
		||||
        Posted on $date$
 | 
			
		||||
        $if(author)$
 | 
			
		||||
            by $author$
 | 
			
		||||
        $endif$
 | 
			
		||||
    </section>
 | 
			
		||||
    <section>
 | 
			
		||||
        $body$
 | 
			
		||||
    </section>
 | 
			
		||||
</article>
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue