mirror of
				https://github.com/Wonderfall/hugo-WonderMod.git
				synced 2025-10-31 11:45:26 +01:00 
			
		
		
		
	
			
				
					
						
					
					5cf42a224f559333dfbb47f0be1936156274b237
				
			
			
		
	 Alexandros
		
	
	5cf42a224f
	
	
	Remove SymLink Add Aliases (#26)
			Alexandros
		
	
	5cf42a224f
	
	
	Remove SymLink Add Aliases (#26)
		
			
			This PR reverts commit6ad74b6and instead adds the following under `content/post/_index.md`: ``` aliases = ["posts","articles"] ``` Basically the symlink from #24 duplicated all posts in theme demos, so it needs to be removed. Aliases on the other hand thanks to the Netlify Redirect Output Format defined in the gohugoio theme over [here](4320e757c9/config.toml (L21-L31)) and [here](https://github.com/gohugoio/gohugoioTheme/blob/master/layouts/index.redir) become 301 redirects, so they hopefully offer a solution to the issue of the various themes using different sections in their demos that I described in https://github.com/gohugoio/hugoBasicExample/pull/24
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%