       (when show-note? (paragraph note))
       (spacer 35)
       (left-button invite-button (:token-link invite))
-      (spacer 24)
-      horizontal-line
-      (help-links :invite)
       (spacer 73)]))
 
 (defn- share-content [entry]

(def invite-message "invited you to his team on Carrot")
(def invite-message-with-company "invited you to join the “%s” digest on Carrot")
(def invite-button "Accept invitation")
(def invite-help-links
  [:p {:class "digest-help"}
    "Visit our "
    [:a {:href carrot-help}
      "getting started guide"]
    " for tips and tricks on how to get the most out of Carrot."])

(def share-message "sent you a post")
(def share-cta "Read post")
(def share-help-links
  [:p {:class "digest-help"}
    "Not sure what a post is? Head over to our "
    [:a {:href carrot-help} "support center"]
    " to learn more"])

(def board-invite-message "invited you to join the private section “%s” within your company digest")
(def anonymous-board-invite-message "You've been invited to join the private section “%s” within your company digest")
(def board-invite-explainer "Private sections of the digest are only available to invited team members.")
(def board-invite-help-links
  [:p {:class "digest-help"}
    "Not sure what a private section is? Head over to our "
    [:a {:href carrot-help} "support center"]
    " to learn more"])

(def reset-message "Password reset")
(def reset-instructions "Click the button below to reset your password. If you didn't request a password reset, you can ignore this email.")
(def reset-button-text "Reset Password")
(def reset-ignore "If you didn't request a password reset, you can safely ignore this email.")
(def reset-help-links
  [:p {:class "digest-help"}
    [:a {:href carrot-hello-mailto} "Contact us"]
    " or visit our "
    [:a {:href carrot-help} "support center"]
    " if you’re in need of assistance"])

(def verify-message "Please verify your email for Carrot")
(def verify-instructions "Click the link below to verify your email address.")
(def verify-button-text "Verify Email")
(def verify-ignore "If you didn't create a Carrot account, you can safely ignore this email.")
(def verify-help-links
  [:p {:class "digest-help"}
    [:a {:href carrot-hello-mailto} "Contact us"]
    " or visit our "
    [:a {:href carrot-help} "support center"]
    " if you’re in need of assistance"])

(def digest-help-links
  [:p {:class "digest-help"}
    "You’re receing this digest weekly. You can change your "
    [:a {:href profile-url} "delivery frequency"]
    "."])


;; ----- HTML Fragments -----

(defn- help-links [token-type]
  [:table {:class "row"}
    [:tr
      [:th {:class "small-12 large-12 columns"}
        (case token-type
          :reset reset-help-links
          :verify verify-help-links
          :invite invite-help-links
          :board-notification board-invite-help-links
          :share-link share-help-links
          :digest digest-help-links)]]])

(defn- org-logo
  [{org-name :org-name logo-url :org-logo-url logo-height :org-logo-height logo-width :org-logo-width}]

  (let [message (token-prep token-type msg)]
    (str (:message message) "\n\n"
         (:instructions message) "\n\n"
         (:link message))))

(defn digest-html [digest]
  (html digest :digest))
