updates
Former-commit-id: 987a3c3c697fb3d529634c1a8f66dde0f450f5a1 [formerly ee09941b44acdf0700d756d72e225a161471dcd2] [formerly e0243da57fccd6a4765a2c16e4ee45356d76062f [formerly f2b880dccf]]
Former-commit-id: 4a1e27fbe8a524a0eb90f7ae157253ba2d6d29a4 [formerly 66a205c72125cf1666468a21097926196214bb0b]
Former-commit-id: 3b974ca50af3176bcc6497bbda18deef5347cbe5
			
			
				pull/726/head
			
			
		
							parent
							
								
									329f3587ea
								
							
						
					
					
						commit
						2d0c90657c
					
				|  | @ -2,8 +2,8 @@ | |||
|   <div class="dashboard"> | ||||
|     <h1>Profile Settings</h1> | ||||
| 
 | ||||
|     <ul> | ||||
|       <li><router-link v-if="user.admin" to="/settings/global">Go to Global Settings</router-link></li> | ||||
|     <ul v-if="user.admin"> | ||||
|       <li><router-link to="/settings/global">Go to Global Settings</router-link></li> | ||||
|     </ul> | ||||
| 
 | ||||
|     <form @submit="changePassword"> | ||||
|  |  | |||
|  | @ -12,11 +12,7 @@ Using this plugin, you won't need to have your own computer to edit posts, neith | |||
| 
 | ||||
| ``` | ||||
| hugo [directory] [admin] { | ||||
|     clean_public    [true|false] | ||||
|     before_publish  command | ||||
|     after_publish   command | ||||
|     flag            name  [value] | ||||
|     # other file manager compatible options | ||||
|     database  path | ||||
| } | ||||
| ``` | ||||
| 
 | ||||
|  |  | |||
|  | @ -138,6 +138,9 @@ | |||
|         click: function (event, data, route) { | ||||
|           data.store.commit('showHover', 'new-archetype') | ||||
|         }, | ||||
|         if: function (data, route) { | ||||
|           return data.store.state.user.allowNew | ||||
|         }, | ||||
|         icon: 'merge_type', | ||||
|         name: 'Hugo new' | ||||
|       }, | ||||
|  |  | |||
|  | @ -80,13 +80,13 @@ func parse(c *caddy.Controller) ([]*filemanager.FileManager, error) { | |||
| 		} | ||||
| 
 | ||||
| 		// if there is a database path and it is not absolute,
 | ||||
| 		// it will be relative to Caddy folder.
 | ||||
| 		// it will be relative to ".caddy" folder.
 | ||||
| 		if !filepath.IsAbs(database) && database != "" { | ||||
| 			database = filepath.Join(path, database) | ||||
| 		} | ||||
| 
 | ||||
| 		// If there is no database path on the settings,
 | ||||
| 		// store one in .caddy/hugo/name.db.
 | ||||
| 		// store one in .caddy/hugo/{name}.db.
 | ||||
| 		if database == "" { | ||||
| 			// The name of the database is the hashed value of a string composed
 | ||||
| 			// by the host, address path and the baseurl of this File Manager
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Henrique Dias
						Henrique Dias