Skip to content
This repository has been archived by the owner on Jan 15, 2025. It is now read-only.

Commit

Permalink
Hidden Original URL
Browse files Browse the repository at this point in the history
  • Loading branch information
babarot committed Mar 2, 2017
1 parent cba34f9 commit 6eadfa0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ func qiita2crowi(article Articles) error {
defer func() { <-ch }()

// Create Crowi page
article.Body = fmt.Sprintf("<!-- Imported by\n%s\n-->\n\n%s",
strings.TrimLeft(article.URL, "https://"),
article.Body,
)
crowi, err := crowiPageCreate(article.Title, article.Body)
if err != nil {
return err
Expand Down

0 comments on commit 6eadfa0

Please sign in to comment.