提供我改过的micolog代码下载
最近好多童鞋发邮件问部署的问题(大多数人是index.yaml的修改问题),还有童鞋发邮件要我修改过的micolog的代码。在这里提供个我修改过的index.yaml吧,并且附上我修改过的micolog的下载地址。
我改过的主要内容,请查看这个blog的micolog目录中的那些文章
index.yaml,如果你用徐老大的0.5版本,可以使用这个index.yaml(与从我这里下载的micolog是不同的,因为我修改的版本里面增加了readtime,为了不出错,这里面的index.yaml的readtime删掉了)
indexes:
# AUTOGENERATED
# This index.yaml is automatically updated whenever the dev_appserver
# detects that a new type of query is run. If you want to manage the
# index.yaml file manually, remove the above marker line (the line
# saying “# AUTOGENERATED”). If you want to manage some indexes
# manually, move them above the marker line. The index.yaml file is
# automatically uploaded to the admin console when you next deploy
# your application using appcfg.py.# Unused in query history — copied from input.
#- kind: Archive
# properties:
# – name: date
# direction: desc# Used 31 times in query history.
#- kind: Comment
# properties:
# – name: date
# direction: desc# Used once in query history.
- kind: Comment
properties:
– name: entry
– name: date# Unused in query history — copied from input.
- kind: Comment
properties:
– name: entry
– name: date
direction: desc# Unused in query history — copied from input.
- kind: Entry
properties:
– name: categorie_keys
– name: date
direction: desc# Unused in query history — copied from input.
#- kind: Entry
# properties:
# – name: date
# direction: desc# Used 29 times in query history.
- kind: Entry
properties:
– name: entry_parent
– name: entrytype
– name: published
– name: menu_order# Unused in query history — copied from input.
- kind: Entry
properties:
– name: entry_type
– name: date
direction: desc# Used 4 times in query history.
- kind: Entry
properties:
– name: entrytype
– name: date
direction: desc# Unused in query history — copied from input.
- kind: Entry
properties:
– name: entrytype
– name: post_id# Unused in query history — copied from input.
- kind: Entry
properties:
– name: entrytype
– name: post_id
direction: desc# Used 11 times in query history.
- kind: Entry
properties:
– name: entrytype
– name: published
– name: date
direction: desc- kind: Entry
properties:
– name: entrytype
– name: published
– name: date# Unused in query history — copied from input.
- kind: Entry
properties:
– name: entrytype
– name: published
– name: slug
– name: date# Unused in query history — copied from input.
- kind: Entry
properties:
– name: entrytype=
– name: date
direction: desc# Unused in query history — copied from input.
#- kind: Entry
# properties:
# – name: post_id
# direction: desc# Unused in query history — copied from input.
- kind: Entry
properties:
– name: published
– name: date
direction: desc# Unused in query history — copied from input.
- kind: Entry
properties:
– name: slug
– name: date# Unused in query history — copied from input.
- kind: Entry
properties:
– name: tags
– name: date
direction: desc# Unused in query history — copied from input.
- kind: Entry
properties:
– name: tags
– name: post_id
direction: desc# Unused in query history — copied from input.
- kind: Link
properties:
– name: linktype
– name: createdate
direction: desc# Unused in query history — copied from input.
- kind: Link
properties:
– name: linktype
– name: href# Unused in query history — copied from input.
#- kind: Logger
# properties:
# – name: date
# direction: desc
您可能会喜欢:
这也没改啊!只加个readtime?
@麦子
是啊,blog里面列出来的这个,是提供给想使用徐老大原版,但是修改index.yaml总是出错的童鞋的。下载链接里面的那个是我改过的,并且下载链接里面的index.yaml与这个不一样
下次回来试试,我的主要是添加不了最热文章这部分…
捧场来了!