jekyll-attendease 0.6.26d → 0.6.26e
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8514ba50f31f521220c6ce095b97e241d56d2b9d
|
4
|
+
data.tar.gz: cc969ad1eba291537c5082de46a606c17677f546
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f897a374ef09075350456a1954de9d3f3689a0a1c71fbc4d94392313b30610bb6c6b20379e7f1746a655b04c5c5eff2238c91d74f5b9e1aec912517495a365b6
|
7
|
+
data.tar.gz: 5e1d1d48dc32e200a276be4d3ccbb935c85f943c30bb30adcffd0db7ce6bcb9ab26d937761aea1d903615c35f68e90de5ec7750d749685236d13292fc0de7612
|
@@ -9,15 +9,42 @@ module Jekyll
|
|
9
9
|
site.pages << SitePage.new(site, site.source, page)
|
10
10
|
|
11
11
|
zones = {}
|
12
|
+
keys = [ 'content', 'preferences' ]
|
12
13
|
|
13
14
|
if page['block_instances'].length
|
14
15
|
# create zone buckets
|
15
16
|
page['block_instances'].each do |i|
|
17
|
+
# go through all content
|
18
|
+
if site.config.event?
|
19
|
+
keys.each do |key|
|
20
|
+
i[key].each do |k, v|
|
21
|
+
if v.is_a?(String) && v.match(/\{\{/)
|
22
|
+
# maintain the {{ t.foo }} variables
|
23
|
+
v.gsub!(/(\{\{\s*t\.[a-z_.]+\s*\}\})/, '{% raw %}\1{% endraw %}')
|
24
|
+
i[key][k] = Liquid::Template.parse(v).render({ 'event' => site.data['event'] })
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
16
29
|
zones[i['zone']] = [] if zones[i['zone']].nil?
|
17
30
|
zones[i['zone']] << i
|
18
31
|
end
|
19
32
|
|
20
|
-
# sort each bucket by widget
|
33
|
+
# sort each bucket by widget weightILTO="pgib@me.com"
|
34
|
+
# ACCESS_KEY_ID="AKIAJYFM5LRNS3YG3MMA"
|
35
|
+
# SECRET_ACCESS_KEY="1k4ZYJXdbLOnjWELIJDsbVyJbIiAkwxyfuNh6ic3"
|
36
|
+
# SLACK_WEBHOOK_URL="https://hooks.slack.com/services/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"
|
37
|
+
# QUIET="yes"
|
38
|
+
#
|
39
|
+
# #0 0 * * * /usr/local/bin/imapsync --syncinternaldates --host1 mail.me.com --user1 pgib --password1 m0bile42 --ssl1 --authmech1 LOGIN --host2 localhost --user2 pgib@me.com --password2 backup42
|
40
|
+
#
|
41
|
+
# #0 0 * * * /home/camera/garage/clean_yesterday.sh
|
42
|
+
#
|
43
|
+
# 0 1 * * * /usr/local/etc/asterisk/backup_asterisk_db.sh >/dev/null 2>/dev/null
|
44
|
+
#
|
45
|
+
# #* * * * * /home/patrick/bin/keep-my-ip.sh >/dev/null
|
46
|
+
# * * * * * /home/patrick/bin/keep-my-ip ZW8Q92H776T13 home
|
47
|
+
#
|
21
48
|
zones.each do |k, zone|
|
22
49
|
zone.sort! { |x, y| x['weight'] <=> y['weight'] }
|
23
50
|
end
|