Nerdy Notes

<style>
  button {
  background-color: #000000;
  color: white;
  padding: 15px 10px;
  font-size: 20px;
  width: 200px;
  border-radius: 16px;
}
</style>
<center><a href="mailto:[email protected]?subject=free chocolate"><button>✉️&nbsp;&nbsp;Reply via email</button></a></center>

Reply via Email button


Disable Image Optimization and Resizing (except for the cover images, that's too big of a pain). Edit config.production.json and add the following code:

  "imageOptimization": {
    "resize": false,
    "srcsets": false
  }

Use Gmail for SMTP in Ghost

  1. Create an app specific gmail password - https://security.google.com/settings/security/apppasswords
  2. Configure the mail settings of config.production.json to look like this:
  "mail": {
    "transport": "SMTP",
    "options": {
      "service": "google",
      "host": "smtp.gmail.com",
      "port": 587,
      "auth": {
        "user": "[email protected]",
        "pass": "app specfic password"
      }
    }
  },

Code Injection to Customize Casper

<style>
  .article-byline-content .author-list, .author-name {
    display:none
  }
</style>