diff --git a/blog/css/screen.css b/blog/css/screen.css index 8e5c78f3..9ddfd75e 100644 --- a/blog/css/screen.css +++ b/blog/css/screen.css @@ -57,6 +57,7 @@ html { font-family: sans-serif; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; + -webkit-font-smoothing: antialiased; } body { @@ -2339,7 +2340,7 @@ body:not(.post-template) .post-title { } } -/* ========================================================================== - End of file. Animations should be the last thing here. Do not add stuff - below this point, or it will probably fuck everything up. - ========================================================================== */ \ No newline at end of file +.pure-img { + max-width: 100% !important; + margin-bottom: 1.75em; +} \ No newline at end of file diff --git a/blog/images/autocomplete.gif b/blog/images/autocomplete.gif new file mode 100644 index 00000000..4142f5e6 Binary files /dev/null and b/blog/images/autocomplete.gif differ diff --git a/blog/index.html b/blog/index.html index 3e6ff811..efc5843a 100644 --- a/blog/index.html +++ b/blog/index.html @@ -228,6 +228,8 @@ + + @@ -249,6 +251,40 @@ +
+
+

Adding Autocomplete to Gophish

+
+
+ +

Gophish provides powerful template tags making it easy to create customized emails and landing pages. Unfortunately, I've had multiple issues file that are the result of incorrect tags being used. +This post describes how I implemented autocomplete for template tags within the Gophish editor, making it easier to use tags reliably and effectively. »

+ +
+ +
+ +

Building Web Servers in Go

diff --git a/blog/index.xml b/blog/index.xml index 530a8569..e0fa3652 100644 --- a/blog/index.xml +++ b/blog/index.xml @@ -6,11 +6,22 @@ Recent content on Gophish - Blog Hugo -- gohugo.io en-us - Sun, 02 Dec 2018 16:00:00 -0600 + Wed, 02 Jan 2019 20:05:00 -0600 + + Adding Autocomplete to Gophish + https://getgophish.com/blog/post/2019-01-02-adding-autocomplete-to-gophish/ + Wed, 02 Jan 2019 20:05:00 -0600 + + https://getgophish.com/blog/post/2019-01-02-adding-autocomplete-to-gophish/ + Gophish provides powerful template tags making it easy to create customized emails and landing pages. Sometimes, however, it can be difficult to remember the exact syntax and what template tags are supported. +I’ve had multiple issues filed that are the result of incorrect tags being used. Generally, the crash looks something like this: +worker.go:90: template: html_template:6: function "Name" not defined panic: runtime error: invalid memory address or nil pointer dereference [recovered] panic: runtime error: invalid memory address or nil pointer dereference [signal 0xb code=0x1 addr=0x10 pc=0x61a4a5] The error from template suggests that a certain function, Name wasn’t defined. + + Building Web Servers in Go https://getgophish.com/blog/post/2018-12-02-building-web-servers-in-go/ diff --git a/blog/post/2018-12-02-building-web-servers-in-go/index.html b/blog/post/2018-12-02-building-web-servers-in-go/index.html index 2532d818..5bb9b9ca 100644 --- a/blog/post/2018-12-02-building-web-servers-in-go/index.html +++ b/blog/post/2018-12-02-building-web-servers-in-go/index.html @@ -495,6 +495,13 @@ srv.Shutdown(ctx