Skip to content

Commit

Permalink
fix: add repoEditURL option
Browse files Browse the repository at this point in the history
  • Loading branch information
reuixiy committed Aug 12, 2019
1 parent 8d25519 commit 3574d51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ <h1 class="post-title">{{ .Title }}</h1>
{{ end }}
{{ end }}
{{ if .Site.Params.displayEditLink }}
{{ with .Site.Params.repoURL }}
{{ with .Site.Params.repoEditURL }}
{{ $icon := (replace (index $.Site.Data.SVG $.Site.Params.editIcon) "icon" "icon edit-icon") }}
{{ $contentDir := $.Site.Params.contentDir }}
{{ $content := (cond $.Site.IsMultiLingual (printf `/%s/` $contentDir) (printf `/content/`)) }}
Expand Down

0 comments on commit 3574d51

Please sign in to comment.