- externe Links werden gekennzeichnet
This commit is contained in:
parent
de5a372795
commit
50154ba6bf
3 changed files with 13 additions and 0 deletions
|
@ -33,6 +33,11 @@ hr {
|
||||||
border-left: none;
|
border-left: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.external {
|
||||||
|
background: url(externallink.png) right center no-repeat;
|
||||||
|
padding-right: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
#container {
|
#container {
|
||||||
background: none;
|
background: none;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -102,6 +107,11 @@ hr {
|
||||||
margin-bottom: 1.5em;
|
margin-bottom: 1.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#main .externerLink {
|
||||||
|
background: url(externallink.png) right center no-repeat;
|
||||||
|
padding-right: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
/* Zitate */
|
/* Zitate */
|
||||||
blockquote {
|
blockquote {
|
||||||
font-style:italic;
|
font-style:italic;
|
||||||
|
|
BIN
cd-template/doku/externallink.png
Normal file
BIN
cd-template/doku/externallink.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 771 B |
|
@ -63,6 +63,9 @@ try:
|
||||||
content = string.replace(content,'Ü','Ü')
|
content = string.replace(content,'Ü','Ü')
|
||||||
content = string.replace(content,'ß','ß')
|
content = string.replace(content,'ß','ß')
|
||||||
|
|
||||||
|
# Links innerhalb von div="main" die zu externen Seiten verweisen, bekommen ein tag
|
||||||
|
content = string.replace(content,'HREF="http:','class="externerLink" href="http:')
|
||||||
|
|
||||||
#all done, writing tuned files
|
#all done, writing tuned files
|
||||||
writeFile(content,sys.argv[1])
|
writeFile(content,sys.argv[1])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue