Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,6 @@ copyright = "All rights reserved - 2015-2017"
identifier = "patreon"
url = "https://www.patreon.com/golangshow"

[[menu.friends]]
name = "4gophers.ru"
identifier = "4gophers"
url = "http://4gophers.ru"

[[menu.friends]]
name = "DigitalOcean"
ideantifier = "digitalocean"
Expand Down
16 changes: 0 additions & 16 deletions themes/golangshow/layouts/partials/sidebar.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,3 @@
<!-- Begin MailChip Subscribe Form Code -->

<script>
function showMailingPopUp() {
require(["mojo/signup-forms/Loader"], function(L) { L.start({"baseUrl":"mc.us13.list-manage.com","uuid":"825dd78d184fbe74999cf9271","lid":"66e2863596"}) });
//document.cookie = "MCEvilPopupClosed=; expires=Thu, 01 Jan 1970 00:00:00 UTC";
};
</script>
<style>
a#mailinglink {
color: 'red';
}
</style>
<!-- End -->

<div class="sidebar">
<div class="container">
<div class="sidebar-about">
Expand All @@ -23,7 +8,6 @@ <h1>{{ .Site.Author.name }}</h1>

<ul class="sidebar-nav">
<li class="sidebar-nav-item"><a href="{{ "/" | absURL }}">{{ if isset .Site.Params "home"}}{{ .Site.Params.home }}{{ else }}Blog{{ end }}</a></li>
<li class="sidebar-nav-item"><a href="#" onclick="showMailingPopUp()" id="mailinglink">Рассылка обновлений</a></li>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

И код бы убрать.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

{{ range .Site.Menus.main }}
{{ if hasPrefix .URL "javascript"}}
<li class="sidebar-nav-item"><a href="{{ .URL | safeURL }}">{{ .Name }}</a></li>
Expand Down