-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmkp_url_parameters.txt
83 lines (81 loc) · 5.46 KB
/
mkp_url_parameters.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# Name: mkp_url_parameters v1.2
# Type: Public plugin
# A Textpattern Plugin for creating Date-Based Archives
# Author: Michael K Pate
# URL: https://github.com/michaelkpate/mkp_url_parameters/
# Recommended load order: 5
# .....................................................................
# This is a plugin for Textpattern CMS - http://textpattern.com/
# To install: textpattern > admin > plugins
# Paste the following text into the 'Install plugin' box:
# .....................................................................
YToxMTp7czo0OiJuYW1lIjtzOjE4OiJta3BfdXJsX3BhcmFtZXRlcnMiO3M6NjoiYXV0aG9y
IjtzOjE0OiJNaWNoYWVsIEsgUGF0ZSI7czoxMDoiYXV0aG9yX3VyaSI7czo1MToiaHR0cHM6
Ly9naXRodWIuY29tL21pY2hhZWxrcGF0ZS9ta3BfdXJsX3BhcmFtZXRlcnMvIjtzOjc6InZl
cnNpb24iO3M6MzoiMS4yIjtzOjExOiJkZXNjcmlwdGlvbiI7czo1MzoiQSBUZXh0cGF0dGVy
biBQbHVnaW4gZm9yIGNyZWF0aW5nIERhdGUtQmFzZWQgQXJjaGl2ZXMiO3M6NDoiY29kZSI7
czoxNTM2OiIvLyBUWFAgNC42IHRhZyByZWdpc3RyYXRpb24NCmlmIChjbGFzc19leGlzdHMo
J1xUZXh0cGF0dGVyblxUYWdcUmVnaXN0cnknKSkgew0KVHhwOjpnZXQoJ1xUZXh0cGF0dGVy
blxUYWdcUmVnaXN0cnknKQ0KLT5yZWdpc3RlcignbWtwX3VybF9wYXJhbWV0ZXJzJykNCjsN
Cn0NCg0KZnVuY3Rpb24gbWtwX3VybF9wYXJhbWV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