mirror of
https://github.com/sjsdfg/effective-java-3rd-chinese.git
synced 2025-02-09 19:10:21 +08:00
64 lines
1.1 KiB
Plaintext
64 lines
1.1 KiB
Plaintext
{% extends "base_generic.html" %}
|
|
{% block body %}
|
|
<a href="{{ story.get_absolute_url }}">
|
|
{{ story.headline|upper }}
|
|
</a>
|
|
{% endblock %}
|
|
|
|
----------------------------------------------------
|
|
|
|
[
|
|
["property", [
|
|
"{% ",
|
|
["keyword", "extends"],
|
|
["string", "\"base_generic.html\""],
|
|
" %}"
|
|
]],
|
|
["property", [
|
|
"{% ",
|
|
["keyword", "block"],
|
|
["variable", "body"],
|
|
" %}"
|
|
]],
|
|
["tag", [
|
|
["tag", [
|
|
["punctuation", "<"],
|
|
"a"
|
|
]],
|
|
["attr-name", ["href=\""]],
|
|
["property", [
|
|
"{{ ",
|
|
["variable", "story"],
|
|
["punctuation", "."],
|
|
["variable", "get_absolute_url"],
|
|
" }}"
|
|
]],
|
|
["attr-name", ["\""]],
|
|
["punctuation", ">"]
|
|
]],
|
|
["property", [
|
|
"{{ ",
|
|
["variable", "story"],
|
|
["punctuation", "."],
|
|
["variable", "headline"],
|
|
["keyword", "|"],
|
|
["function", "upper"],
|
|
" }}"
|
|
]],
|
|
["tag", [
|
|
["tag", [
|
|
["punctuation", "</"],
|
|
"a"
|
|
]],
|
|
["punctuation", ">"]
|
|
]],
|
|
["property", [
|
|
"{% ",
|
|
["keyword", "endblock"],
|
|
" %}"
|
|
]]
|
|
]
|
|
|
|
----------------------------------------------------
|
|
|
|
Checks for properties. |