一开始默认的链接地址形式是下划线的
而以前的blogger链接是中线
昨天在官方看到相关的说明
原来是可以设置的,是我没仔细看后台设置:

%a

The entry's author's display name passed through the dirify global filter. Example: melody_nelson
%-a

The same as above except using dashes. Example: melody-nelson
%b

For individual archive mappings, this returns the basename of the entry. By default, this is the first thirty characters of an entry dirified with underscores. It can be specified by using the basename field on the edit entry screen. Example: my_summer_vacation
%c

The entry's primary category/subcategory path passed through the dirify global filter. Example: arts_and_entertainment/tv_and_movies
%-c

Same as above but using dashes. Example: arts-and-entertainment/tv-and-movies
%C

The entry's primary category label passed through the dirify global filter. Example: arts_and_entertainment
%-C

Same as above but using dashes. Example: arts-and-entertainment
%d

2-digit day of the month. Example: 09
%D

3-letter language-dependent abbreviation of the week day. Tue
%e

A numeric entry ID padded with leading zeroes to six digits. Example: 000040
%E

The entry's numeric ID. Example: 40
%f

Archive filename with the specified extension. This can be used instead of %b or %i and will do the right thing based on the context. Example: entry_basename.html or index.html
%F

Same as above but without the file extension. Example: filename

%h

2-digit hour on a 24-hour clock with a leading zero if applicable. Example: 09 for 9am, 16 for 4pm
%H

2-digit hour on a 24-hour clock without a leading zero if applicable. Example: 9 for 9am, 16 for 4pm
%i

The setting of the IndexBasename configuration directive with the default file extension appended. Example: index.html
%I

Same as above but without the file extension. Example: index
%j

3-digit day of year, zero-padded. Example: 040
%m

2-digit month, zero-padded. Example: 07
%n

2-digit minute, zero-padded. Example: 04
%s

2-digit second, zero-padded. Example: 01
%x

File extension with a leading dot (.). If a file extension has not been specified a blank string is returned. Example: .html
%y

4-digit year. Example: 2005
%Y

2-digit year with zero-padding. Example: 05

本站不欢迎全文转载,如需转载请阅读本站版权声明

http://kaix.in/cgi-bin/mt-tb.cgi/316. Tips:在自己blog里发表针对本文的评论文章时复制上述地址到引用通告栏,你的文章链接就会显示在本页引用列表里。

Read Comments

嗅到0篇文章提及本文:

Submit comment

必填
必填

评论须知

  1. 我女儿以后也会来看我的blog,请不要让超过PG-13限制的内容出现在本站;
  2. 请尽量把自己要表达的内容一次性表达清楚,我有强迫症,看不懂的内容会让我抓狂;
  3. 评论内容不支持 HTML,你可以使用 Textile 语法来表现一些高级格式。
  4. 由于网速等原因,点击发布后有可能需要几秒钟的时间响应,请务必只点一次发布按钮