enabled breakWord for onion URL in footer
This commit is contained in:
parent
8ca51abe9f
commit
40abcab55a
2 changed files with 6 additions and 7 deletions
|
@ -41,9 +41,9 @@ getHeader("Jonas Leder", "home");
|
|||
|
||||
|
||||
echo(<<<EOF
|
||||
<article>
|
||||
<article class="breakWord">
|
||||
<h2>$title</h2>
|
||||
<p>$contentNew</p>
|
||||
<p breakWord>$contentNew</p>
|
||||
<p class="center"><a href="/post.php?id=$id"><button>Mehr lesen</button></a></p>
|
||||
</article>
|
||||
EOF);
|
||||
|
@ -60,7 +60,7 @@ getHeader("Jonas Leder", "home");
|
|||
<br>
|
||||
<?php
|
||||
if (strpos($_SERVER['HTTP_HOST'], '.onion') == false) {
|
||||
echo('<p>Diese Website ist auch als hidden Service unter folgendem URL zu erreichen: <a href="jonasledtmdcrenuxuobwqn3n6onq3smssicbeyocolgx4sk75xwmxqd.onion">jonasledtmdcrenuxuobwqn3n6onq3smssicbeyocolgx4sk75xwmxqd.onion</a></p>');
|
||||
echo('<p class="breakWord">Diese Website ist auch als hidden Service unter folgendem URL zu erreichen: <a href="jonasledtmdcrenuxuobwqn3n6onq3smssicbeyocolgx4sk75xwmxqd.onion">jonasledtmdcrenuxuobwqn3n6onq3smssicbeyocolgx4sk75xwmxqd.onion</a></p>');
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
|
|
|
@ -14,10 +14,6 @@ article{
|
|||
margin-right: 20px;
|
||||
flex: 1 1 0;
|
||||
width: 0;
|
||||
word-wrap: break-word;
|
||||
p{
|
||||
word-wrap: break-word;
|
||||
}
|
||||
h2{
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
|
@ -43,3 +39,6 @@ article{
|
|||
#banner img {
|
||||
width: 100%;
|
||||
}
|
||||
.breakWord{
|
||||
word-wrap: break-word;
|
||||
}
|
Loading…
Reference in a new issue