- externe Links werden gekennzeichnet

This commit is contained in:
phil 2006-06-15 10:45:42 +00:00
parent de5a372795
commit 50154ba6bf
3 changed files with 13 additions and 0 deletions

View file

@ -33,6 +33,11 @@ hr {
border-left: none;
}
.external {
background: url(externallink.png) right center no-repeat;
padding-right: 12px;
}
#container {
background: none;
width: 100%;
@ -102,6 +107,11 @@ hr {
margin-bottom: 1.5em;
}
#main .externerLink {
background: url(externallink.png) right center no-repeat;
padding-right: 18px;
}
/* Zitate */
blockquote {
font-style:italic;

Binary file not shown.

After

Width:  |  Height:  |  Size: 771 B

View file

@ -62,6 +62,9 @@ try:
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
writeFile(content,sys.argv[1])