mirror of
				https://github.com/Wonderfall/hugo-WonderMod.git
				synced 2025-10-31 19:55:24 +01:00 
			
		
		
		
	
			
				
					
						
					
					6ad74b6295a8d8022019ab4b680b0b8b7a8545d0
				
			
			
		
	 Alexandros
		
	
	6ad74b6295
	
	
	Add posts symlink (#24)
			Alexandros
		
	
	6ad74b6295
	
	
	Add posts symlink (#24)
		
			
			Some themes like for example [Hyde Hyde](https://github.com/htr3n/hyde-hyde/tree/master/exampleSite/content) have their content files under a section called `posts` Currently the index page of these theme demos renders empty because there is no `posts` section in the HugoBasicExample. So to fix this I have added a symlink called `posts` that points to the content files located under the `post` of the HugoBasicExample repo. In theory this workaround can be used for other sections as well like e.g. `articles` etc (as long as it doesn't break anything).
hugoBasicExample
This is an example site for Hugo.
It is intended to be a demo site for the various Hugo themes.
Using
- Install Hugo
- Clone this repository
git clone https://github.com/gohugoio/hugoBasicExample.git
cd hugoBasicExample
- Clone the repository you want to test. If you want to test all hugo themes, you can clone the full list
git clone --recursive https://URL/OF/YOUR/THEME themes/YOURTHEME
or
git clone --recursive https://github.com/gohugoio/hugoThemes.git themes
- Run Hugo and select the theme of your choosing
hugo server -t YOURTHEME
					Languages
				
				
								
								
									HTML
								
								84.3%
							
						
							
								
								
									CSS
								
								11.4%
							
						
							
								
								
									JavaScript
								
								4.2%